Using android, I was wondering if it was a proper and clean way to clear the whole backstack?
I found many answers on SO for that but they all make me pop to the top element. What I need is just a simple way to clean the backstack in order to keep it clean after some advanced process deep into my fragments.
I don't need ( and I don't want ) to change my current fragment or to start a new activity ( for a perfomance purpose ). All I need is an empty backstack to avoid further troubles.
Thanks in advance!