Hi
I'm reasonably new to Android (although I've been developing in other languages for years) and I'd like opinions if this this is the best way to handle this.
I have a search activity that will go to a web service and retrieve possibly a very large amount of data. Once that's returned I want to open another activity (lets call this "activity2") to display it as a list, then the user can select any item and that will open an other activity ("activity3") to show additional details.
The way I'm planning to do this is to get the data and put it in an SQLite database table which "activity2" can then read and display (some of the columns of the data). On selecting it then passes the additional data to "activity".
In this scenario is the use of SQLite for (temporarily) persisting the data the best move or is there a better way?
Cheers
Samo
I'm reasonably new to Android (although I've been developing in other languages for years) and I'd like opinions if this this is the best way to handle this.
I have a search activity that will go to a web service and retrieve possibly a very large amount of data. Once that's returned I want to open another activity (lets call this "activity2") to display it as a list, then the user can select any item and that will open an other activity ("activity3") to show additional details.
The way I'm planning to do this is to get the data and put it in an SQLite database table which "activity2" can then read and display (some of the columns of the data). On selecting it then passes the additional data to "activity".
In this scenario is the use of SQLite for (temporarily) persisting the data the best move or is there a better way?
Cheers
Samo