Skip to content

magneticflux-/kotlin-livedata-utils

Repository files navigation

kotlin-livedata-utils

Download GitHub tag Build Status GitHub issues GitHub PRs GitHub Contributors GitHub license

Get automatic notifications about new "kotlin-livedata-utils" versions

Usage:

repositories {
    jcenter()
}

dependencies {
    implementation 'com.github.magneticflux:kotlin-livedata-utils:$latest_version'
}
import com.github.magneticflux.livedata.*

// ...
{
    // ...
    return uuid.switchMap { itemRepository.getItemByUUID(it) }
}

Compatibility:

Library Version Android Support Library Android API Level
ver ∈ [0.1.0, 0.2.X] android.arch.lifecycle:livedata ver ≥ 14
ver ∈ [0.3.0, 0.3.X] androidx.lifecycle:lifecycle-livedata ver ≥ 14

Copyright 2018, Mitchell Skaggs

Licensed under the GNU Lesser General Public License v3.0