Android : Naviagtion Drawer - Show recent fragment while switching to other list items

on Tuesday, September 23, 2014


I was integrated navigation drawer in my app. I have five list items in left panel. My first list item having 5 fragments (Frag1 -> Frag2 -> Frag3 -> Frag4 -> Frag5). Supoose we are in Fragment4 in first list item at that point we are switching to some other list item let say third item. This is having 3 fragement(Frag1 -> Frag2 -> Frag3). Suppose we are in second fragment of 3rd List item. Now we are switch to the First List item, it shows the Fragment1 of 1st List item but I want to show the recent visted fragment(Fragment4). Is it possible in Navigation drawer? If yes, Please help me on this


0 comments:

Post a Comment