1package androidx.lifecycle {
2
3  public class AndroidViewModel extends androidx.lifecycle.ViewModel {
4    ctor public AndroidViewModel(android.app.Application);
5    method public <T extends android.app.Application> T getApplication();
6  }
7
8  public abstract class ViewModel {
9    ctor public ViewModel();
10    method protected void onCleared();
11  }
12
13  public class ViewModelProvider {
14    ctor public ViewModelProvider(androidx.lifecycle.ViewModelStoreOwner, androidx.lifecycle.ViewModelProvider.Factory);
15    ctor public ViewModelProvider(androidx.lifecycle.ViewModelStore, androidx.lifecycle.ViewModelProvider.Factory);
16    method public <T extends androidx.lifecycle.ViewModel> T get(java.lang.Class<T>);
17    method public <T extends androidx.lifecycle.ViewModel> T get(java.lang.String, java.lang.Class<T>);
18  }
19
20  public static class ViewModelProvider.AndroidViewModelFactory extends androidx.lifecycle.ViewModelProvider.NewInstanceFactory {
21    ctor public ViewModelProvider.AndroidViewModelFactory(android.app.Application);
22    method public static androidx.lifecycle.ViewModelProvider.AndroidViewModelFactory getInstance(android.app.Application);
23  }
24
25  public static abstract interface ViewModelProvider.Factory {
26    method public abstract <T extends androidx.lifecycle.ViewModel> T create(java.lang.Class<T>);
27  }
28
29  public static class ViewModelProvider.NewInstanceFactory implements androidx.lifecycle.ViewModelProvider.Factory {
30    ctor public ViewModelProvider.NewInstanceFactory();
31    method public <T extends androidx.lifecycle.ViewModel> T create(java.lang.Class<T>);
32  }
33
34  public class ViewModelStore {
35    ctor public ViewModelStore();
36    method public final void clear();
37  }
38
39  public abstract interface ViewModelStoreOwner {
40    method public abstract androidx.lifecycle.ViewModelStore getViewModelStore();
41  }
42
43}
44
45