I’ve a big questionaire to fill, so I’ve decide to split it in two activities/screens. My question is:
– Should I send the data from activity1 to activity2 (startActivityForResult) and insert all the data on sqlite with an insert on activity2?
– Should I make an insert on activity1 and an update on activity2 since I know the row _id?
The option 1 is better to ensure the user fills all the questionaire, right?
First option is better, because with this you will never have incomplete information in database (what happens if user exits from app when he finishes with first screen?) and you only will make a unique call to insert data.