getViewModel

protected open fun getViewModel(): ViewModel

Get the ViewModel. By default, it will throw a IllegalStateException.

Throws