TableLayout for Android with massive data… here is a solution to the problem.
TableLayout for Android with massive data
What is the best way to create a table layout or recyclerview/listview/gridview in android that can extract a large amount of data of about 1000 rows and about 50 columns per row without crashing?
I want to display it like an excel sheet, nothing special, of course just displaying the data by bidirectional scrolling.
Solution
items on TableFixHeaders github have one that contains both an adapter
and a view The implementation of Recycling
, and handles scrolling well. And it is easy to modify to suit your needs.
This request is not uncommon, so it has been done many times. If this implementation doesn’t work for you, I’m sure you can find other implementations.