Nick Anthony | 09286e6 | 2019-09-19 18:25:21 -0400 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.lifecycle { |
| 3 | |
| 4 | public abstract class AbstractSavedStateViewModelFactory implements androidx.lifecycle.ViewModelProvider.Factory { |
| 5 | ctor public AbstractSavedStateViewModelFactory(androidx.savedstate.SavedStateRegistryOwner, android.os.Bundle?); |
| 6 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public final <T extends androidx.lifecycle.ViewModel> T create(String, Class<T!>); |
| 7 | method public final <T extends androidx.lifecycle.ViewModel> T create(Class<T!>); |
| 8 | method protected abstract <T extends androidx.lifecycle.ViewModel> T create(String, Class<T!>, androidx.lifecycle.SavedStateHandle); |
| 9 | } |
| 10 | |
| 11 | public final class SavedStateHandle { |
| 12 | ctor public SavedStateHandle(java.util.Map<java.lang.String!,java.lang.Object!>); |
| 13 | ctor public SavedStateHandle(); |
| 14 | method @MainThread public boolean contains(String); |
| 15 | method @MainThread public <T> T? get(String); |
| 16 | method @MainThread public <T> androidx.lifecycle.MutableLiveData<T!> getLiveData(String); |
| 17 | method @MainThread public <T> androidx.lifecycle.MutableLiveData<T!> getLiveData(String, T!); |
| 18 | method @MainThread public java.util.Set<java.lang.String!> keys(); |
| 19 | method @MainThread public <T> T? remove(String); |
| 20 | method @MainThread public <T> void set(String, T?); |
| 21 | } |
| 22 | |
| 23 | public final class SavedStateViewModelFactory implements androidx.lifecycle.ViewModelProvider.Factory { |
| 24 | ctor public SavedStateViewModelFactory(android.app.Application, androidx.savedstate.SavedStateRegistryOwner); |
| 25 | ctor public SavedStateViewModelFactory(android.app.Application, androidx.savedstate.SavedStateRegistryOwner, android.os.Bundle?); |
| 26 | method public <T extends androidx.lifecycle.ViewModel> T create(String, Class<T!>); |
| 27 | method public <T extends androidx.lifecycle.ViewModel> T create(Class<T!>); |
| 28 | } |
| 29 | |
| 30 | } |
| 31 | |