FlowNav is a mobile library for Android that helps and provider a better way to make multi-modules navigation.
The main purpose of this library is to help in cases where you have a project with multiple modules and need to navigate from one feature to another without adding dependency between them. For example, to navigate from module A to module B, you do not need to add module B as a dependency of module A.
There are other ways to solve the problem of module-to-module navigation such as using Intent-filter (which is error-prone and not support fragments). FlowNav solves these problems, either using Activities, native Fragments, or through the Navigation Component.
Check the wiki.
- Kotlin >= 1.3.50, enabled by default
- Use
kapt.incremental.apt=true
ongradle.properties
if your Kotlin version is < 1.3.50
// latest stable
flownav_version = '0.4.5'
- Import dependencies
- Init FlowNavApp on Application
- Navigation on Activities
- Navigation on Fragments
- Fragments using Navigation Component
This project is available under Apache Public License version 2.0. See LICENSE.