public class

DocumentModel.DocumentModelFactory

extends ViewModelProvider.NewInstanceFactory

 java.lang.Object

androidx.lifecycle.ViewModelProvider.NewInstanceFactory

↳androidx.appsearch.debugview.model.DocumentModel.DocumentModelFactory

Overview

Factory for creating a DocumentModel instance.

Summary

Constructors
publicDocumentModelFactory(ListeningExecutorService executor, DebugAppSearchManager debugAppSearchManager)

Methods
public ViewModelcreate(java.lang.Class<ViewModel> modelClass)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public DocumentModelFactory(ListeningExecutorService executor, DebugAppSearchManager debugAppSearchManager)

Methods

public ViewModel create(java.lang.Class<ViewModel> modelClass)