Wednesday, June 4, 2014

FragmentManager and Backstack

#18 Android FragmentManager and Backstack Part 1

https://www.youtube.com/watch?v=ZbKKxYUOH-c


call popBackStack()

call popBackStack("A") go directly to A

call popBackStack ("screen 2", POP_BACK_STACK_INCLUSIVE) remove screen 2 also

OnBackStackChangedListener

getBackStackEntryCount()

getBackStackEntryAt(int index)

BackStackEntry getName() to retrieve the name when addToBackStack (with name) was called.

#19 Android FragmentManager and Backstack Part 2

https://www.youtube.com/watch?v=PqpppvGiCAk










Use textview in activity_main


No comments:

Post a Comment