android - How to Clear all previous activities~? -


activity flow in app.

welcomeactivity -> signinactivity -> signupactivity -> tabsactivity(this main) -> ...


activity stack


i want close previous activities (welcome, signin, signup) when start tabsactivity.

i try several method...

  1. tabsactivity. clear task on launch=true ? not work (maybe)

  2. tabsactivity. launch mode = singletask ? not work

but not want "save 3 activities , call each activity.finish()"

depending on situation, "available 2 or 4 activities not 3", or "i not know activities in activity stack".


i want clear previous activities, regadless of situation.

help me :)

sorry poor english... thanks.

try this,

clear activies. here have tutorial solve clear stack race. please go through it.

thanks


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -