android - Two activities one table -
i have 2 activities use gather data 1 sqlite table. best way this. assume should have 2 classes possibly 3 1 each activity , maybe 1 handling database. assume should create intent call second activity , pass bundle using put extras on intent pass data , update database second activity after gathering information. better pass context first activity , somehow parse context second activity? confused maintaining state 1 activity next.
there ways like:
1) best way use fragments can keep gathering data , @ end can store data. , practice separate modules different classes in database operation.
2) , if thinking pass bundle must use parceble data consistency.
3) if data string , don't want use fragments it's okay pass bundle.
4)or may use contentprovider pretty hectic.
good luck...
Comments
Post a Comment