We need to display a tableview with over 400 rows and each row needs to display data worth 12 days' all time slots. The data is added as buttons to each of tableview rows inside a scroll view and the data is read from database. There are number of issues we are facing:
- slow scrolling since data is fetched for every cell as the table scrolls view.
- as the user scrolls sideways to different slots, the data needs to be fetched for those slots.
- Memory issue as more data gets fetched and stored. I have to purge data for slots which are not currently visible on the screen. This leads to another issue that as I scroll back to older slots, I have to refetch the data.
I am trying to achieve a seamless scrolling experience in all respect like the Yahoo iPad app guide. Any suggestions on the best way to implement this?
Thanks and Regards, Hetal