-
FragmentStateManager in Android code
资源介绍
FragmentStateManager
An Android library that holds fragment states for BottomNavigationView. Saves fragment back stack even after activity rotation. Implementation derived from FragmentStatePagerAdapter.
Installation
Add Jitpack to project level gradle file
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
Then add library to module level gradle file
dependencies {
compile 'com.github.okaybroda:FragmentStateManager:1. '
}
Usage
Create a FragmentStateManager in