Monday, 8 October 2018

Android LiveData prevent receive the last value when subscribe

Is it possible to prevent LiveData receive the last value when start observing? I am considering to use LiveData as events and not for pushing values.

For example events like show message, a navigation event or a dialog trigger, toggle view state, similar to EventBus.



from Android LiveData prevent receive the last value when subscribe

No comments:

Post a Comment