blob: 26a9b7d3da5d03def984909fcfc1a3221261242b [file] [log] [blame]
// Signature format: 4.0
package androidx.lifecycle.viewmodel.testing {
public final class DefaultCreationExtrasKt {
method public static androidx.lifecycle.viewmodel.CreationExtras DefaultCreationExtras();
method public static androidx.lifecycle.viewmodel.CreationExtras DefaultCreationExtras(android.os.Bundle defaultArgs);
}
public final class ViewModelScenario<VM extends androidx.lifecycle.ViewModel> implements java.lang.AutoCloseable {
method public void close();
method public VM getViewModel();
method public void recreate();
property public final VM viewModel;
}
public final class ViewModelScenarioKt {
method public static inline <reified VM extends androidx.lifecycle.ViewModel> androidx.lifecycle.viewmodel.testing.ViewModelScenario<VM> viewModelScenario(optional androidx.lifecycle.viewmodel.CreationExtras creationExtras, kotlin.jvm.functions.Function1<? super androidx.lifecycle.viewmodel.CreationExtras,? extends VM> initializer);
method public static inline <reified VM extends androidx.lifecycle.ViewModel> androidx.lifecycle.viewmodel.testing.ViewModelScenario<VM> viewModelScenario(androidx.lifecycle.ViewModelProvider.Factory factory, optional androidx.lifecycle.viewmodel.CreationExtras creationExtras);
}
}