Must I create an activity for each page of my book reader app in android -


i creating app in android loads text(html) , images, app book. have listview search box on top. on selecting item, (which page) app loads user read. stuck in have created activity each page. wanted reuse 1 activity named displayactity , activity contains webview display content. somehow still android newbie must in many pages have , create many activities number of book pages?

no. when user elects switch pages, update content in existing displayactivity. example, if displayactivity shows content via webview, update webview newly-selected page.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -