onCreateViewModel

protected abstract fun onCreateViewModel(): VM

Called to do initial creation of a view model. This is called after onConfigureParams.

Return

The view model that the fragment wants to use

See also