{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

CreationExtras.Empty

object CreationExtras.Empty : CreationExtras

kotlin.Any
   ↳ androidx.lifecycle.viewmodel.CreationExtras
     ↳ androidx.lifecycle.viewmodel.CreationExtras.Empty

Empty CreationExtras

Summary

Public functions

open operator T?
<T : Any?> get(key: CreationExtras.Key<T>)

Returns an element associated with the given key

Public functions

get

open operator fun <T : Any?> get(key: CreationExtras.Key<T>): T?

Returns an element associated with the given key