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? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -