onStateChanged

abstract fun onStateChanged(viewModelState: ViewModelState)

Invoked when the ViewModel's lifecycle state is changed.