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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -