MCPcopy Index your code
hub / github.com/evrencoskun/TableView

github.com/evrencoskun/TableView @v0.8.9.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.9.4 ↗ · + Follow
787 symbols 2,083 edges 81 files 143 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img src="https://raw.githubusercontent.com/evrencoskun/TableViewSample/master/art/Logo-5.png" >
<h2>TableView for Android</h2>

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells. TableView relies on a separate model object to hold and represent the data it displays. This repository also contains a sample app that is designed to show you how to create your own TableView in your application.

    <a href="https://youtu.be/1DWFIqrqrPk">
        <b>Demo Full video »</b>
    </a>











<a href="https://youtu.be/1DWFIqrqrPk">
  <img src="https://raw.githubusercontent.com/evrencoskun/TableViewSample/master/art/TableView-0_8_5_1_2.gif">
</a>

Features

  • [x] Each column width value can be calculated automatically considering the largest one.
  • [x] Setting your own model class to be displayed in a table view easily.
  • [x] TableView has an action listener interface to listen user touch interaction for each cell.
  • [x] TableView columns can be sorted in ascending or descending order.
  • [x] Hiding & showing the rows and columns is pretty easy.
  • [x] Filtering by more than one data.
  • [x] Pagination functionality.

What's new

You can check new implementations of TableView on the release page.

Table of Contents

Installation

To use this library in your Android project, just add the following dependency into your module's build.gradle:

dependencies {
    implementation 'com.evrencoskun.library:tableview:0.8.9.2' 
}

Documentation

Please check out the project's wiki.

Sample Apps

Donations

This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!

PayPal

  • Donate 5 $: Thank's for creating this project, here's a coffee (or some beer) for you!
  • Donate 10 $: Wow, I am stunned. Let me take you to the movies!
  • Donate 15 $: I really appreciate your work, let's grab some lunch!
  • Donate 25 $: That's some awesome stuff you did right there, dinner is on me!
  • Or you can also choose what you want to donate, all donations are awesome!

Contributors

Contributions of any kind are welcome! I would like to thank all the contributors for sharing code and making TableView a better product.

If you wish to contribute to this project, please refer to our contributing guide.

License

MIT License

Copyright (c) 2021 Evren Coşkun

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Extension points exported contracts — how you extend this code

ISortableModel (Interface)
Created by evrencoskun on 24.11.2017. [4 implementers]
tableview/src/main/java/com/evrencoskun/tableview/sort/ISortableModel.java
ITableViewListener (Interface)
Created by evrencoskun on 20/09/2017. [4 implementers]
tableview/src/main/java/com/evrencoskun/tableview/listener/ITableViewListener.java
IFilterableModel (Interface)
(no doc) [4 implementers]
tableview/src/main/java/com/evrencoskun/tableview/filter/IFilterableModel.java
ITableView (Interface)
Created by evrencoskun on 19/06/2017. [1 implementers]
tableview/src/main/java/com/evrencoskun/tableview/ITableView.java
OnTableViewPageTurnedListener (Interface)
Listener interface for changing of TableView page. [1 implementers]
tableview/src/main/java/com/evrencoskun/tableview/pagination/Pagination.java

Core symbols most depended-on inside this repo

add
called by 34
tableview/src/main/java/com/evrencoskun/tableview/filter/Filter.java
getAdapter
called by 33
tableview/src/main/java/com/evrencoskun/tableview/TableView.java
setAllItems
called by 33
tableview/src/main/java/com/evrencoskun/tableview/adapter/AbstractTableAdapter.java
getContext
called by 32
tableview/src/main/java/com/evrencoskun/tableview/ITableView.java
getCornerView
called by 31
tableview/src/main/java/com/evrencoskun/tableview/adapter/ITableAdapter.java
getAdapter
called by 27
tableview/src/main/java/com/evrencoskun/tableview/ITableView.java
setAdapter
called by 26
tableview/src/main/java/com/evrencoskun/tableview/TableView.java
addView
called by 19
tableview/src/main/java/com/evrencoskun/tableview/ITableView.java

Shape

Method 695
Class 81
Interface 7
Enum 4

Languages

Java100%

Modules by API surface

tableview/src/main/java/com/evrencoskun/tableview/TableView.java81 symbols
tableview/src/main/java/com/evrencoskun/tableview/ITableView.java59 symbols
tableview/src/main/java/com/evrencoskun/tableview/adapter/AbstractTableAdapter.java38 symbols
tableview/src/main/java/com/evrencoskun/tableview/handler/SelectionHandler.java32 symbols
tableview/src/main/java/com/evrencoskun/tableview/handler/VisibilityHandler.java30 symbols
tableview/src/main/java/com/evrencoskun/tableview/pagination/Pagination.java24 symbols
tableview/src/main/java/com/evrencoskun/tableview/layoutmanager/CellLayoutManager.java22 symbols
app/src/main/java/com/evrencoskun/tableviewsample/MainFragment.java18 symbols
tableview/src/androidTest/java/com/evrencoskun/tableview/test/CornerViewTest.java15 symbols
tableview/src/main/java/com/evrencoskun/tableview/listener/itemclick/AbstractItemClickListener.java14 symbols
tableview/src/main/java/com/evrencoskun/tableview/adapter/ITableAdapter.java14 symbols
tableview/src/androidTest/java/com/evrencoskun/tableview/test/adapters/CornerTestAdapter.java14 symbols

For agents

$ claude mcp add TableView \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page