public final class

ViewInteractionModule_ProvideRootViewFactory

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory

Gradle dependencies

compile group: 'androidx.test.espresso', name: 'espresso-core', version: '3.6.1'

  • groupId: androidx.test.espresso
  • artifactId: espresso-core
  • version: 3.6.1

Artifact androidx.test.espresso:espresso-core:3.6.1 it located at Google repository (https://maven.google.com/)

Androidx artifact mapping:

androidx.test.espresso:espresso-core com.android.support.test.espresso:espresso-core

Androidx class mapping:

androidx.test.espresso.ViewInteractionModule_ProvideRootViewFactory android.support.test.espresso.ViewInteractionModule_ProvideRootViewFactory

Summary

Constructors
publicViewInteractionModule_ProvideRootViewFactory(androidx.test.espresso.ViewInteractionModule module, <any> rootViewPickerProvider)

Methods
public static ViewInteractionModule_ProvideRootViewFactorycreate(androidx.test.espresso.ViewInteractionModule module, <any> rootViewPickerProvider)

public Viewget()

public static ViewprovideRootView(androidx.test.espresso.ViewInteractionModule instance, RootViewPicker rootViewPicker)

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

Constructors

public ViewInteractionModule_ProvideRootViewFactory(androidx.test.espresso.ViewInteractionModule module, <any> rootViewPickerProvider)

Methods

public View get()

public static ViewInteractionModule_ProvideRootViewFactory create(androidx.test.espresso.ViewInteractionModule module, <any> rootViewPickerProvider)

public static View provideRootView(androidx.test.espresso.ViewInteractionModule instance, RootViewPicker rootViewPicker)

Source

// Generated by Dagger (https://dagger.dev).
package androidx.test.espresso;

import android.view.View;
import androidx.test.espresso.base.RootViewPicker;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class ViewInteractionModule_ProvideRootViewFactory implements Factory<View> {
  private final ViewInteractionModule module;

  private final Provider<RootViewPicker> rootViewPickerProvider;

  public ViewInteractionModule_ProvideRootViewFactory(ViewInteractionModule module,
      Provider<RootViewPicker> rootViewPickerProvider) {
    this.module = module;
    this.rootViewPickerProvider = rootViewPickerProvider;
  }

  @Override
  public View get() {
    return provideRootView(module, rootViewPickerProvider.get());
  }

  public static ViewInteractionModule_ProvideRootViewFactory create(ViewInteractionModule module,
      Provider<RootViewPicker> rootViewPickerProvider) {
    return new ViewInteractionModule_ProvideRootViewFactory(module, rootViewPickerProvider);
  }

  public static View provideRootView(ViewInteractionModule instance,
      RootViewPicker rootViewPicker) {
    return Preconditions.checkNotNullFromProvides(instance.provideRootView(rootViewPicker));
  }
}