InQBarna / TableFixHeaders

Android library that implements a table with fixed headers.
Apache License 2.0
818 stars 300 forks source link

Preload next rows for smooth scroll #93

Closed mittay closed 8 years ago

mittay commented 8 years ago

Hello! I am trying to implement this lib with DB data. I have created AsynkTask in the getView() method to get data for each cell and now I have lag on fast scroll (AsynkTask not finished and I see blank cell). How can I preload 10 or more rows? Thanks

BraisGabin commented 8 years ago

I think that this is not a library issue. If you want to preload your data when TFH ask you for the row N you can run a AsynkTask that preload the rows N to N+9. But as I said, this is not a library issue.