Data Persistence ViewPager

后端 未结 2 930
谎友^
谎友^ 2020-12-21 06:16

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:

  • E
相关标签:
2条回答
  • 2020-12-21 06:47

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

    0 讨论(0)
  • 2020-12-21 06:53

    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

    0 讨论(0)
提交回复
热议问题