Package-level declarations

Functions

Link copied to clipboard
internal fun createViewModel(modelClass: Class<out ViewModel>): ViewModel

Create a ViewModel object by modelClass.

Link copied to clipboard
fun <VM : ViewModel> reflectViewModel(current: Class<*>, store: ViewModelStoreOwner, base: Class<*>? = null, createVM: (Class<out ViewModel>) -> ViewModel = ::createViewModel): VM

Creates an instance of the view model class to use.