This repository was archived by the owner on Jun 10, 2023. It is now read-only.
Releases: PHELAT/LiveDataDSL
Releases · PHELAT/LiveDataDSL
1.0.0-alpha7
Improvements
- Overall improvements for generic types that are used within ViewModel or LiveData
AndroidX support
From now on you can use LiveDataDSL for AndroidX artifacts by using this dependencies:
dependencies {
implementation "com.phelat:livedatadsl:$latest_version"
kapt "com.phelat:livedatadsl-processor-x:$latest_version"
}1.0.0-alpha5
New feature
- Add ability to use a custom name for DSL function through
@LiveData(name = "customName")
Behaviour change
- LiveData with
kotlin.Unitgeneric type won't have a receiver in it's DSL function
1.0.0-alpha4
Breaking Changes
- From now on DSL functions return
FunctionResult<Observer, LiveData>instead ofLiveData.
1.0.0-alpha2
First working release!
1.0.0-alpha3
New features
- Change return type of DSL functions from
voidtoLiveData - Add a new DSL function without
LifecycleOwnerto use it forobserveForever()