-1

I am developing an Android app in which I have 20 HTML pages. I want to load all HTML pages on the fly when a scroll event happens.

For example, consider that I have a list view of list1, list2, list3, ...listn. When the user clicks on, say, list1, the corresponding HTML page should open, and when the user scrolls up, the next HTML page should get opened in the same layout or view.

Pang
  • 9,564
  • 146
  • 81
  • 122
Sagar
  • 642
  • 3
  • 14

1 Answers1

0

use vertical view pager that scrolls up next html page in sameview.

link

Community
  • 1
  • 1
Jain Nidhi
  • 255
  • 2
  • 15
  • Thank you very much for the quick response. I hope the link given should work for me. I have doubt: are we loading all the html files at once and then we are navigating? or are we loading one page at a time when we scroll down or up? – Sagar Apr 17 '15 at 11:36
  • you can load one page at a time and when you scroll view pager take next position and load second page on it and so on... – Jain Nidhi Apr 17 '15 at 11:43