-
Notifications
You must be signed in to change notification settings - Fork 6
LiveData
Miguel Panelo edited this page Feb 10, 2019
·
2 revisions
States can also be subscribed using LiveData
kaskade.stateLiveData()
It has a Dam counterpart DamLiveData
kaskade.stateDamLiveData()
In Android, always consider using LiveData
as it has lifecycle support to avoid memory leaks. Note that LiveData
does not handle SingleEvents
and a DamLiveData
must be used for this case.