I have a main activity (M) (host activity) and few full page size fragments (f1,f2,f3).
My main activity is a empty page and I am not showing anything into it.
When my app starts, I am showing fragment f1 by default.
But when I am pressing back button I am landing on white page of my main activity (M).
I don't want activity M in my backstack. How can I remove that?
I tried intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); before activity started, but it's not working also I tried finish(); after start activity but it is also not working. Any Idea?
I have a problem about removing Mainactivity from back stack ..
When i press back button from specific fragment it lead me to a white page "content main" of my main activity (M).