本文介绍了如何使用viewpager从多个片段中存储数据库中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

​Hello, my friends i have a serious problem and i really need urgent solution if anyone help me, thanks in advance.
I am working on an application, i am using swipeAdapter as a class and extends FragmentPagerAdapter. I have almost 17 fragments in this swipe which swipes and also there is a button to go for next fragment. I had done all things, just i am confuse how to save data in sqlite, because user will input data from these 17 fragments (i had converted a form to 17 fragments there were about to 100 questions). 
and there is only one table in the database. so please let me know if user input data from 1 to 17 fragments how to submit all entries at the end to the Sqlite database.


waiting, if you need more information about the problem i can but i think i am cleared you..please help me its urgent.





我尝试了什么:



i尝试了很多,但我失败了所以我需要你可以帮我一个示例代码



What I have tried:

i tried lot of but i am failed so i need you to help me with a sample code please

推荐答案


这篇关于如何使用viewpager从多个片段中存储数据库中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 15:22