Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

ViewModelStoreOwner

interface ViewModelStoreOwner
androidx.lifecycle.ViewModelStoreOwner

A scope that owns ViewModelStore.

A responsibility of an implementation of this interface is to retain owned ViewModelStore during the configuration changes and call ViewModelStore#clear(), when this scope is going to be destroyed.

Summary

Public methods
abstract ViewModelStore

Returns owned ViewModelStore

Public methods

getViewModelStore

@NonNull abstract fun getViewModelStore(): ViewModelStore

Returns owned ViewModelStore

Return
ViewModelStore a ViewModelStore