// Generated by dagger.internal.codegen.ComponentProcessor (https://google.github.io/dagger).
package com.sample.sample.viewmodel;

import com.sample.sample.repository.SampleAppRepository;
import dagger.MembersInjector;
import dagger.internal.Factory;
import dagger.internal.MembersInjectors;
import javax.inject.Provider;

public final class ViewModel_Factory implements Factory<ViewModel> {
  private final MembersInjector<ViewModel> viewModelMembersInjector;

  private final Provider<SampleAppRepository> sampleAppRepositoryProvider;

  public ViewModel_Factory(
      MembersInjector<ViewModel> viewModelMembersInjector,
      Provider<SampleAppRepository> sampleAppRepositoryProvider) {
    assert viewModelMembersInjector != null;
    this.viewModelMembersInjector = viewModelMembersInjector;
    assert sampleAppRepositoryProvider != null;
    this.sampleAppRepositoryProvider = sampleAppRepositoryProvider;
  }

  @Override
  public ViewModel get() {
    return MembersInjectors.injectMembers(
        viewModelMembersInjector, new ViewModel(sampleAppRepositoryProvider.get()));
  }

  public static Factory<ViewModel> create(
      MembersInjector<ViewModel> viewModelMembersInjector,
      Provider<SampleAppRepository> sampleAppRepositoryProvider) {
    return new ViewModel_Factory(viewModelMembersInjector, sampleAppRepositoryProvider);
  }
}
