Setup
  1. 1.
    Add Maven Central to your repositories if needed
    repositories {
    mavenCentral()
    }
  2. 2.
    Add the desired dependencies to your module's build.gradle file
    dependencies {
    // Navigator
    implementation "cafe.adriel.voyager:voyager-navigator:$currentVersion"
    // BottomSheetNavigator
    implementation "cafe.adriel.voyager:voyager-bottom-sheet-navigator:$currentVersion"
    // TabNavigator
    implementation "cafe.adriel.voyager:voyager-tab-navigator:$currentVersion"
    // Transitions
    implementation "cafe.adriel.voyager:voyager-transitions:$currentVersion"
    // Android ViewModel integration
    implementation "cafe.adriel.voyager:voyager-androidx:$currentVersion"
    // Koin integration
    implementation "cafe.adriel.voyager:voyager-koin:$currentVersion"
    // Kodein integration
    implementation "cafe.adriel.voyager:voyager-kodein:$currentVersion"
    // Hilt integration
    implementation "cafe.adriel.voyager:voyager-hilt:$currentVersion"
    // RxJava integration
    implementation "cafe.adriel.voyager:voyager-rxjava:$currentVersion"
    // LiveData integration
    implementation "cafe.adriel.voyager:voyager-livedata:$currentVersion"
    }
Current version here.

Platform compatibility

Android
Desktop
voyager-navigator
voyager-bottom-sheet-navigator
voyager-tab-navigator
voyager-transitions
voyager-androidx
voyager-koin
voyager-kodein
voyager-hilt
voyager-rxjava
voyager-livedata
Last modified 7mo ago
Copy link