ListView Item Detail Screen: New or Same Activity?
Posted
by stormin986
on Stack Overflow
See other posts from Stack Overflow
or by stormin986
Published on 2010-05-07T22:38:46Z
Indexed on
2010/05/07
22:48 UTC
Read the original article
Hit count: 159
I have a listview where each item correlates to an instance of an item in an array. When the user selects an item, it will bring up a 'Details' page that reads and displays other data members of the list item.
Would this be better implemented with the Details page as its own activity, or a new view within the same activity? Pros and cons of each?
A new activity makes my job a little easier in terms of handling the 'back' button, but then I have the challenge of how do I pass the rest of the data structure to the new activity since I can't bundle it up (unless I serialize it).
© Stack Overflow or respective owner