android - Anyway to append to the activity stack without doing a StartActivity? -


i'm parsing huge xml display list of titles in listview in activity a. same xml has details list item needs shown in different view (like list mail subjects/view mail details scenario).

on click event of list dont want load new activity bundle, parse same xml , show detailed view, while have required data in activity itself.

i figured out way hide show layouts in xml required, handling button issue. can capturing button action, want know whether there better solution this.

like broadcasting intent (from itself) , somehow managing add activity stack.

excuse if there duplicate question, couldnt find 1 when searched.

btw, dont want solution database caching.

i handling press. use flag within activity tells in view (so within detailed view shows overview view).

another way save values in applicationcontext. easier way database usage. take @ answer here: how declare global variables in android?

but go handling presses. have solution similar use same listview in layout , instead use different adapters depending on detailed view user in.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -