Closed watsaponk closed 4 years ago
Any new emission should generate a new view model. You could receive a push notification which would update a DB which the presenter could react on.
Am i understand correctly ?
A processor should be the one hitting the network or the cache or whatever it is. Otherwise, yes.
thank you @oldergod :)
Example : Chat Application that message can come anytime I should subscribe to realtime data source on Fragment or ViewModel ? if I subscribe on ViewModel so it ok or not to call intent inside ViewModel?
Thank yoy