Close an specific activity android -


just, how can close specific activity of application?

for example have activities:

a1 > b1 > c1

and in c1 can go activity again new params when open new b (b2), want close older activities: a1, b1, c1.

being new result:

a2 > b2

where can go a2 after of b2, , finish app a2.

you have 2 ways this:

you can use activity declaration such single top. or can pass data between activities using start result. on onactivityresult call finish();


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -