A library for simple subnavigation with Cicerone
CiceroneFlows
CiceroneFlows - library for simple subnavigation (e.g. instagram like tabs) with Cicerone.
Download
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
...
implementation 'com.github.aradxxx:ciceroneflows:$latestVersion'
}
About
FlowCicerone
provides different instances of Cicerone
wherever an independent navigation flow is necessary:
activity, flow fragments and flow fragment container.
FlowRouter
provides several additional methods for working with subnavigation:
- Use standart methods for current flow navigation (for example
router.navigateTo(screen)
). - Use overloaded methods for navigation on a specific flow (for example
router.navigateTo("Tab1", screen)
). - Use overloaded methods with empty tag for navigation in activity stack (for example
router.navigateTo("", screen)
). - Use switch command for switch current flow
router.switch("Tab2")
.