I have MainActivity extends BaseActivity.
BaseActivity extends SlidingFragmentActivity(using Sliding Manu Library)
MainActivty's setContentView is container.xml
I have 3 fragments. Fragement1 is set in container.xml in onCreate of MainActivity. container may contain only one fragment at a time.
Here I replace fragment1 with fragment3. And from fragment3 I have created NewActivity.
Problem is that when I press back button MainActivity come in front with fragment1 but I want fragment3 instead of fragment1.
So what should I do to do this?
BaseActivity extends SlidingFragmentActivity(using Sliding Manu Library)
MainActivty's setContentView is container.xml
I have 3 fragments. Fragement1 is set in container.xml in onCreate of MainActivity. container may contain only one fragment at a time.
Here I replace fragment1 with fragment3. And from fragment3 I have created NewActivity.
Problem is that when I press back button MainActivity come in front with fragment1 but I want fragment3 instead of fragment1.
So what should I do to do this?