android - Remove just last instance of an activity from stack -
i have application 2 activities , b, main activity , b called can called b itself.
so stack like
a,b0,b1,b2,b3
in cases want able remove last instance of b, [android:nohistory="true"]
won't work.
a,b0,b1,b2,b3 => a,b0,b1,b2,b4
how can accomplish this?
the below lines finish activity in working , start same activity:
finish(); startactivity(getintent());
Comments
Post a Comment