P. S.
P. S.

Reputation: 11

Android Sqlite data records View on swipe

I want to add a dynamic viewpager in my application which show Sqlite database records one by one on swipe from left to right please help me in developing this. i don't know how to configure fragments and add multiple labels to it show database records

Upvotes: 1

Views: 620

Answers (2)

By using the concept of dynamic fragments and SQLlite database, manage a list of records containing student name, registration number, and current semester with degree title e.g. BSSE6/BSIT6/BSCS6. Please implement following functionalities:

  1. Retrieve data of one class from database ordered by their registration number
  2. Provide two buttons on slider fragment to mark PRESENT or ABSENT
  3. Automatically slide to next student record when the user mark their attendance
  4. List down a final attendance on students with some summary blocks in a fragment within same activity
    4.1 Summary blocks should contain total number of students, total present and absent students You can design your on layout without any limitations, but it should be decent and user friendly

Upvotes: 1

Pravin Divraniya
Pravin Divraniya

Reputation: 4374

You can use FragmentPagerAdapter and to get data from Sqlite database you can use CursorAdapter class. For more information please look into This link which might help you to get your desired result.

Upvotes: 3

Related Questions