Voyager: Compose on Warp Speed
A multiplatform navigation library built for, and seamlessly integrated with, Jetpack Compose.
Create scalable Single-Activity apps powered by a pragmatic API:
class HomeScreenModel : ScreenModel {
}
class HomeScreen : Screen {
@Composable
override fun Content() {
val screenModel = rememberScreenModel<HomeScreenModel>()
}
}
class SingleActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
Navigator(HomeScreen())
}
}
}
Turn on the Warp Drive and enjoy the trek 🖖
Documentation
See the project website for documentation and APIs.
dependencies {
implementation("ca.gosyer:voyager-navigator:<version>")
implementation("ca.gosyer:voyager-tab-navigator:<version>")
implementation("ca.gosyer:voyager-bottom-sheet-navigator:<version>")
implementation("ca.gosyer:voyager-transitions:<version>")
implementation("ca.gosyer:voyager-androidx:<version>")
implementation("ca.gosyer:voyager-hilt:<version>")
implementation("ca.gosyer:voyager-kodein:<version>")
implementation("ca.gosyer:voyager-koin:<version>")
implementation("ca.gosyer:voyager-routing:<version>")
implementation("ca.gosyer:voyager-routing-typesafe:<version>")
implementation("ca.gosyer:voyager-rxjava:<version>")
implementation("ca.gosyer:voyager-livedata:<version>")
}
Features
Samples