tjl1444 / viewpagerandtabsexample Goto Github PK
View Code? Open in Web Editor NEWThis project implements a simple ViewPager connected with the ActionBarTabs with 3 fragments.It makes use of a content provider to query an SQLite database. The fragments have a ListView with dummy student records (name and grade), there is one fragment for All the records, the students that passed and the ones that failed. The number of records can be increased by clicking the LoadMore button at the end of the ListView, it creates another set of dummy data and adds it to the database. This is meant to emulate the use of an API to fetch data from the internet.