Skip to content
Evren Coşkun edited this page Jan 15, 2020 · 11 revisions

Welcome to the Documentation of the TableView library.

What is the TableView?

TableView is a powerful open-sourced Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.

The structure of the TableView

Why TableView?

  • What the benefits are compared to an android Gridview or TableLayout?

If you need to implement a dynamic dashboard which will be using a large amount of data like (100k+ lines), then TableLayout is not the best solutions. Because it needs to create all views before showing on the screen. This causes large memory usage. On the other hand, TableView is a kind of advanced RecyclerView. It handles performance issues more than TableLayout thanks to the recycling mechanism of the RecyclerView.

  • What's different from a Recyclerview with a GridLayoutManager?

One of the drawbacks of the GridLayoutManager, the grids are constant and can't be resized. On the other hand, TableView calculates each column width according to the largest one. So, you don't have to set a constant column width value. ( You can also set constant width value for the desired column using TableView helper functions.)

Clone this wiki locally