evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.14k stars 459 forks source link

cells filling #277

Closed SergArtk closed 4 years ago

SergArtk commented 4 years ago

In adapter for cell we need to give data with this structure: List1<List2> mCellList TableView filling data in next order: List1 - it is rows List2 - it is list for each row. And rows filling in horizontal way It is possible to change direction? For example: List1- it is columns and List2 - it is list for each column. And fill data in vertical way

Any ideas? Thank you!

evrencoskun commented 4 years ago

Hi @SergArtk, The reason why TableView needs data like this way is because of its structure which includes nested horizontal Recyclerviews. Please check the below image out.

structurecrop

Therefore, you need to organize your data as TableView wants.

SergArtk commented 4 years ago

Thank you!