In MVVM, Whenever you want to show some toasts or snack bar or sending an intent, you have to send a message from your ViewModel to the activity or fragment and ask it to do the job but the normal methods to do so all have big fallbacks. In the ShowToast example, ViewModel is deciding when to show the message and what message to show but it is the view that is responsible for showing the actual me
{{#tags}}- {{label}}
{{/tags}}