Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
​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.


What I have tried:

i tried lot of but i am failed so i need you to help me with a sample code please
Posted
Updated 28-May-18 16:04pm

1 solution

Whether you have one fragment, or 17, you interact with the SQLite database the same regardless. Check here for starters. You might need to extend SQLiteOpenHelper.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900