onCreateViewModel

open fun onCreateViewModel(): MessageSearchViewModel

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