Is it possible for the owner of a LiveData object to listen for new subscribtions/desubscriptions for the LiveData and react on this event?
I have a scenario where the owner will do some background working if there are active listeners - otherwise not.
from LiveData subscriber changed event
No comments:
Post a Comment