androidMain.com.bselzer.ktx.livedata.immutable.nullsafe.SafeLongLiveData.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of livedata Show documentation
Show all versions of livedata Show documentation
Extensions for the Kotlin standard library and third-party libraries.
The newest version!
package com.bselzer.ktx.livedata.immutable.nullsafe
/**
* Null-safe live data for longs.
* @param defaultValue the initial value to store. It is also the value to set upon resetting the instance.
*/
open class SafeLongLiveData(defaultValue: Long = 0L) : SafeImmutableLiveData(defaultValue)