Skip to content Skip to sidebar Skip to footer

Data Persistence Viewpager

I am using ViewPager to show the multiple views of the form, like name and email on first view and rest on others. Now the problem is: Enter Data on page 1 navigate to page 2 an

Solution 1:

I have implemented something similar in my GitHub project: View Pager Form

Solution 2:

I think ViewPager is fine for this purpose. All you need to do is to save data entered in first and second fragments to your parent Activity and fetch it when you hit Save in your last fragment.

EDIT: Check THIS and THIS related SO questions

Post a Comment for "Data Persistence Viewpager"