public final class

BaseLayerModule_ProvideMainThreadExecutorFactory

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.base.BaseLayerModule_ProvideMainThreadExecutorFactory

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.base.BaseLayerModule_ProvideMainThreadExecutorFactory android.support.test.espresso.base.BaseLayerModule_ProvideMainThreadExecutorFactory

Summary

Constructors
publicBaseLayerModule_ProvideMainThreadExecutorFactory(BaseLayerModule module, <any> mainLooperProvider)

Methods
public static BaseLayerModule_ProvideMainThreadExecutorFactorycreate(BaseLayerModule module, <any> mainLooperProvider)

public java.util.concurrent.Executorget()

public static java.util.concurrent.ExecutorprovideMainThreadExecutor(BaseLayerModule instance, Looper mainLooper)

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

Constructors

public BaseLayerModule_ProvideMainThreadExecutorFactory(BaseLayerModule module, <any> mainLooperProvider)

Methods

public java.util.concurrent.Executor get()

public static BaseLayerModule_ProvideMainThreadExecutorFactory create(BaseLayerModule module, <any> mainLooperProvider)

public static java.util.concurrent.Executor provideMainThreadExecutor(BaseLayerModule instance, Looper mainLooper)

Source

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

import android.os.Looper;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import java.util.concurrent.Executor;
import javax.inject.Provider;

@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata("androidx.test.espresso.base.MainThread")
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class BaseLayerModule_ProvideMainThreadExecutorFactory implements Factory<Executor> {
  private final BaseLayerModule module;

  private final Provider<Looper> mainLooperProvider;

  public BaseLayerModule_ProvideMainThreadExecutorFactory(BaseLayerModule module,
      Provider<Looper> mainLooperProvider) {
    this.module = module;
    this.mainLooperProvider = mainLooperProvider;
  }

  @Override
  public Executor get() {
    return provideMainThreadExecutor(module, mainLooperProvider.get());
  }

  public static BaseLayerModule_ProvideMainThreadExecutorFactory create(BaseLayerModule module,
      Provider<Looper> mainLooperProvider) {
    return new BaseLayerModule_ProvideMainThreadExecutorFactory(module, mainLooperProvider);
  }

  public static Executor provideMainThreadExecutor(BaseLayerModule instance, Looper mainLooper) {
    return Preconditions.checkNotNullFromProvides(instance.provideMainThreadExecutor(mainLooper));
  }
}