ErikHellman/KotlinAsyncWithCoroutines

Cancelable aware LiveData

Closed this issue · 0 comments

Wouldn't it better to extend LiveData to override observe method and add CoroutineLifecycleListener to LifecycleOwner?
This way you can use this in ViewModel as well by returning the instance of extended LiveData class.
Thoughts?