Join Slack
Powered by
I would suggest you have a signal in the viewModel...
# android
e
edwardwongtl
07/13/2018, 5:29 PM
I would suggest you have a signal in the viewModel, then listen it in fragment to showToast. The signal can be just simply emitting
Unit
, or it can emit any required information you need.
2
Views
Open in Slack
Previous
Next