My app needs to have multiple screen e.g. one login page then another page that displays a list of items and then one that displays details of the the selected item. I want to know what is the general/accepted practice in such cases? I suspect it would be to have multiple layouts but how do I store which item has been selected.
Share
You pass it between the activities, there are various ways to do this. The easiest for simple items is to pass them in the Intent
On Activity A:
On Activity B: