Design best practice - best way to handle user selection
Posted
by
user1457227
on Stack Overflow
See other posts from Stack Overflow
or by user1457227
Published on 2012-06-16T15:14:06Z
Indexed on
2012/06/16
15:16 UTC
Read the original article
Hit count: 178
I'm an experienced developer (WPF) moving over to Android development. My question: an app I am developing allows the user to browse their local storage (such as SDCARD) and select a file. Now, should I simply create a new Activity (after the user has made a selection) to handle what I want to have the app do with that chosen file, -or- is the better approach to pass the path/name of the selected file back to the main Activity and let IT launch the next Activity?
In other words, is the better practice to have the main Activity launch other (support) activities, or is it perfectly ok and normal to have one activity chain to another and on and on?
Thanks!
© Stack Overflow or respective owner