Setup
  1. 1.
    Add Maven Central to your repositories if needed
    1
    repositories {
    2
    mavenCentral()
    3
    }
    Copied!
  2. 2.
    Add the desired dependencies to your module's build.gradle file
    1
    dependencies {
    2
    // Navigator
    3
    implementation "cafe.adriel.voyager:voyager-navigator:$currentVersion"
    4
    5
    // BottomSheetNavigator
    6
    implementation "cafe.adriel.voyager:voyager-bottom-sheet-navigator:$currentVersion"
    7
    8
    // TabNavigator
    9
    implementation "cafe.adriel.voyager:voyager-tab-navigator:$currentVersion"
    10
    11
    // Transitions
    12
    implementation "cafe.adriel.voyager:voyager-transitions:$currentVersion"
    13
    14
    // Android ViewModel integration
    15
    implementation "cafe.adriel.voyager:voyager-androidx:$currentVersion"
    16
    17
    // Koin integration
    18
    implementation "cafe.adriel.voyager:voyager-koin:$currentVersion"
    19
    20
    // Kodein integration
    21
    implementation "cafe.adriel.voyager:voyager-kodein:$currentVersion"
    22
    23
    // Hilt integration
    24
    implementation "cafe.adriel.voyager:voyager-hilt:$currentVersion"
    25
    26
    // RxJava integration
    27
    implementation "cafe.adriel.voyager:voyager-rxjava:$currentVersion"
    28
    29
    // LiveData integration
    30
    implementation "cafe.adriel.voyager:voyager-livedata:$currentVersion"
    31
    }
    Copied!
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 1mo ago
Copy link