Android Fragments - How to implement Backstacking
I have android screen layout shown below
Apps screen divided into 3 fragments, Header, Footer and Content. Header
and Footer fragments are fixed. Content fragment is changing according to
content. I replaces fragment1-fragment3 according to need. Initially
Fragment1 is shows in content area. When i press a next button fragment1
is replace by fragment2. This is the order. I have question, if i press
another button previous, how can i return to previous fragment ( fragment2
-> fragment1). Is any built in mechanism available in fragment class.
Please guide me...
thanks in advance
No comments:
Post a Comment