0

I have prepared one application using phonegap.

My application collecting data from server. Data may be above 500 records, first time i am displaying 10 records.

Bottom of the page have four buttons (first, previous, next and last): when user click on next button, next 10 records will be display. If the user wants to filter the records just click on filter button it will move to filter screen. The user can select the filter options and click on submit button, related records will be display. It is working fine.

My problem is when come back from filter screen i have displayed related records, after device keep it side 2 or 3min and click on last button displaying blank screen when drag the screen records is displaying.

3
  • 1
    please post some code and post the problem exactly.. Dec 4, 2012 at 6:18
  • i have add alerts for test purpose,it is working fine. Dec 4, 2012 at 6:19
  • i am not able to find where the problem? Dec 4, 2012 at 6:26

2 Answers 2

0

When you come back from filter screen at that time just add array with your images and set to delegate methods of UITableView or UICollectionView and reload your UITableView or UICollectionView which you use to display image and data

1
  • when reload the page it is displaying first records...but i want to display last records Dec 4, 2012 at 9:03
0

Every time when you come back reload the page with data array.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.