*
This commit is contained in:
@@ -0,0 +1,746 @@
|
||||
package com.stec.cmd;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Service;
|
||||
import android.view.View;
|
||||
import androidx.datastore.core.DataStore;
|
||||
import androidx.datastore.preferences.core.Preferences;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.lifecycle.SavedStateHandle;
|
||||
import androidx.lifecycle.ViewModel;
|
||||
import com.stec.cmd.config.AppModule_ProvideConfigDataStoreFactory;
|
||||
import com.stec.cmd.config.ConfigRepository;
|
||||
import com.stec.cmd.core.network.ApiCaller;
|
||||
import com.stec.cmd.core.network.NetworkModule_ProvideAuthApiFactory;
|
||||
import com.stec.cmd.core.network.NetworkModule_ProvideJsonFactory;
|
||||
import com.stec.cmd.core.network.NetworkModule_ProvideOkHttpClientFactory;
|
||||
import com.stec.cmd.core.network.NetworkModule_ProvideRetrofitFactory;
|
||||
import com.stec.cmd.core.network.api.AuthApi;
|
||||
import com.stec.cmd.feature.mine.ChangePasswordFragment;
|
||||
import com.stec.cmd.feature.mine.ChangePasswordViewModel;
|
||||
import com.stec.cmd.feature.mine.ChangePasswordViewModel_HiltModules;
|
||||
import com.stec.cmd.feature.mine.ConfigFragment;
|
||||
import com.stec.cmd.feature.mine.ConfigViewModel;
|
||||
import com.stec.cmd.feature.mine.ConfigViewModel_HiltModules;
|
||||
import com.stec.cmd.feature.mine.LoginFragment;
|
||||
import com.stec.cmd.feature.mine.LoginViewModel;
|
||||
import com.stec.cmd.feature.mine.LoginViewModel_HiltModules;
|
||||
import com.stec.cmd.feature.mine.MineFragment;
|
||||
import com.stec.cmd.feature.mine.MineViewModel;
|
||||
import com.stec.cmd.feature.mine.MineViewModel_HiltModules;
|
||||
import com.stec.cmd.session.SessionRepository;
|
||||
import dagger.hilt.android.ActivityRetainedLifecycle;
|
||||
import dagger.hilt.android.ViewModelLifecycle;
|
||||
import dagger.hilt.android.internal.builders.ActivityComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ActivityRetainedComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.FragmentComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ServiceComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ViewComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ViewModelComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ViewWithFragmentComponentBuilder;
|
||||
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
|
||||
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories_InternalFactoryFactory_Factory;
|
||||
import dagger.hilt.android.internal.managers.ActivityRetainedComponentManager_LifecycleModule_ProvideActivityRetainedLifecycleFactory;
|
||||
import dagger.hilt.android.internal.managers.SavedStateHandleHolder;
|
||||
import dagger.hilt.android.internal.modules.ApplicationContextModule;
|
||||
import dagger.hilt.android.internal.modules.ApplicationContextModule_ProvideContextFactory;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.DoubleCheck;
|
||||
import dagger.internal.IdentifierNameString;
|
||||
import dagger.internal.KeepFieldType;
|
||||
import dagger.internal.LazyClassKeyMap;
|
||||
import dagger.internal.MapBuilder;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.Provider;
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import javax.annotation.processing.Generated;
|
||||
import kotlinx.serialization.json.Json;
|
||||
import okhttp3.OkHttpClient;
|
||||
import retrofit2.Retrofit;
|
||||
|
||||
@DaggerGenerated
|
||||
@Generated(
|
||||
value = "dagger.internal.codegen.ComponentProcessor",
|
||||
comments = "https://dagger.dev"
|
||||
)
|
||||
@SuppressWarnings({
|
||||
"unchecked",
|
||||
"rawtypes",
|
||||
"KotlinInternal",
|
||||
"KotlinInternalInJava",
|
||||
"cast",
|
||||
"deprecation"
|
||||
})
|
||||
public final class DaggerSteCmdApplication_HiltComponents_SingletonC {
|
||||
private DaggerSteCmdApplication_HiltComponents_SingletonC() {
|
||||
}
|
||||
|
||||
public static Builder builder() {
|
||||
return new Builder();
|
||||
}
|
||||
|
||||
public static final class Builder {
|
||||
private ApplicationContextModule applicationContextModule;
|
||||
|
||||
private Builder() {
|
||||
}
|
||||
|
||||
public Builder applicationContextModule(ApplicationContextModule applicationContextModule) {
|
||||
this.applicationContextModule = Preconditions.checkNotNull(applicationContextModule);
|
||||
return this;
|
||||
}
|
||||
|
||||
public SteCmdApplication_HiltComponents.SingletonC build() {
|
||||
Preconditions.checkBuilderRequirement(applicationContextModule, ApplicationContextModule.class);
|
||||
return new SingletonCImpl(applicationContextModule);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ActivityRetainedCBuilder implements SteCmdApplication_HiltComponents.ActivityRetainedC.Builder {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private SavedStateHandleHolder savedStateHandleHolder;
|
||||
|
||||
private ActivityRetainedCBuilder(SingletonCImpl singletonCImpl) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActivityRetainedCBuilder savedStateHandleHolder(
|
||||
SavedStateHandleHolder savedStateHandleHolder) {
|
||||
this.savedStateHandleHolder = Preconditions.checkNotNull(savedStateHandleHolder);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SteCmdApplication_HiltComponents.ActivityRetainedC build() {
|
||||
Preconditions.checkBuilderRequirement(savedStateHandleHolder, SavedStateHandleHolder.class);
|
||||
return new ActivityRetainedCImpl(singletonCImpl, savedStateHandleHolder);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ActivityCBuilder implements SteCmdApplication_HiltComponents.ActivityC.Builder {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private Activity activity;
|
||||
|
||||
private ActivityCBuilder(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActivityCBuilder activity(Activity activity) {
|
||||
this.activity = Preconditions.checkNotNull(activity);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SteCmdApplication_HiltComponents.ActivityC build() {
|
||||
Preconditions.checkBuilderRequirement(activity, Activity.class);
|
||||
return new ActivityCImpl(singletonCImpl, activityRetainedCImpl, activity);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class FragmentCBuilder implements SteCmdApplication_HiltComponents.FragmentC.Builder {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ActivityCImpl activityCImpl;
|
||||
|
||||
private Fragment fragment;
|
||||
|
||||
private FragmentCBuilder(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl, ActivityCImpl activityCImpl) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.activityCImpl = activityCImpl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FragmentCBuilder fragment(Fragment fragment) {
|
||||
this.fragment = Preconditions.checkNotNull(fragment);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SteCmdApplication_HiltComponents.FragmentC build() {
|
||||
Preconditions.checkBuilderRequirement(fragment, Fragment.class);
|
||||
return new FragmentCImpl(singletonCImpl, activityRetainedCImpl, activityCImpl, fragment);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ViewWithFragmentCBuilder implements SteCmdApplication_HiltComponents.ViewWithFragmentC.Builder {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ActivityCImpl activityCImpl;
|
||||
|
||||
private final FragmentCImpl fragmentCImpl;
|
||||
|
||||
private View view;
|
||||
|
||||
private ViewWithFragmentCBuilder(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl, ActivityCImpl activityCImpl,
|
||||
FragmentCImpl fragmentCImpl) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.activityCImpl = activityCImpl;
|
||||
this.fragmentCImpl = fragmentCImpl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewWithFragmentCBuilder view(View view) {
|
||||
this.view = Preconditions.checkNotNull(view);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SteCmdApplication_HiltComponents.ViewWithFragmentC build() {
|
||||
Preconditions.checkBuilderRequirement(view, View.class);
|
||||
return new ViewWithFragmentCImpl(singletonCImpl, activityRetainedCImpl, activityCImpl, fragmentCImpl, view);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ViewCBuilder implements SteCmdApplication_HiltComponents.ViewC.Builder {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ActivityCImpl activityCImpl;
|
||||
|
||||
private View view;
|
||||
|
||||
private ViewCBuilder(SingletonCImpl singletonCImpl, ActivityRetainedCImpl activityRetainedCImpl,
|
||||
ActivityCImpl activityCImpl) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.activityCImpl = activityCImpl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewCBuilder view(View view) {
|
||||
this.view = Preconditions.checkNotNull(view);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SteCmdApplication_HiltComponents.ViewC build() {
|
||||
Preconditions.checkBuilderRequirement(view, View.class);
|
||||
return new ViewCImpl(singletonCImpl, activityRetainedCImpl, activityCImpl, view);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ViewModelCBuilder implements SteCmdApplication_HiltComponents.ViewModelC.Builder {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private SavedStateHandle savedStateHandle;
|
||||
|
||||
private ViewModelLifecycle viewModelLifecycle;
|
||||
|
||||
private ViewModelCBuilder(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewModelCBuilder savedStateHandle(SavedStateHandle handle) {
|
||||
this.savedStateHandle = Preconditions.checkNotNull(handle);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewModelCBuilder viewModelLifecycle(ViewModelLifecycle viewModelLifecycle) {
|
||||
this.viewModelLifecycle = Preconditions.checkNotNull(viewModelLifecycle);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SteCmdApplication_HiltComponents.ViewModelC build() {
|
||||
Preconditions.checkBuilderRequirement(savedStateHandle, SavedStateHandle.class);
|
||||
Preconditions.checkBuilderRequirement(viewModelLifecycle, ViewModelLifecycle.class);
|
||||
return new ViewModelCImpl(singletonCImpl, activityRetainedCImpl, savedStateHandle, viewModelLifecycle);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ServiceCBuilder implements SteCmdApplication_HiltComponents.ServiceC.Builder {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private Service service;
|
||||
|
||||
private ServiceCBuilder(SingletonCImpl singletonCImpl) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ServiceCBuilder service(Service service) {
|
||||
this.service = Preconditions.checkNotNull(service);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SteCmdApplication_HiltComponents.ServiceC build() {
|
||||
Preconditions.checkBuilderRequirement(service, Service.class);
|
||||
return new ServiceCImpl(singletonCImpl, service);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ViewWithFragmentCImpl extends SteCmdApplication_HiltComponents.ViewWithFragmentC {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ActivityCImpl activityCImpl;
|
||||
|
||||
private final FragmentCImpl fragmentCImpl;
|
||||
|
||||
private final ViewWithFragmentCImpl viewWithFragmentCImpl = this;
|
||||
|
||||
private ViewWithFragmentCImpl(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl, ActivityCImpl activityCImpl,
|
||||
FragmentCImpl fragmentCImpl, View viewParam) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.activityCImpl = activityCImpl;
|
||||
this.fragmentCImpl = fragmentCImpl;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private static final class FragmentCImpl extends SteCmdApplication_HiltComponents.FragmentC {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ActivityCImpl activityCImpl;
|
||||
|
||||
private final FragmentCImpl fragmentCImpl = this;
|
||||
|
||||
private FragmentCImpl(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl, ActivityCImpl activityCImpl,
|
||||
Fragment fragmentParam) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.activityCImpl = activityCImpl;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectCollectFragment(CollectFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectHomeFragment(HomeFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectStatsFragment(StatsFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectTaskFragment(TaskFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectChangePasswordFragment(ChangePasswordFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectConfigFragment(ConfigFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectLoginFragment(LoginFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectMineFragment(MineFragment arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DefaultViewModelFactories.InternalFactoryFactory getHiltInternalFactoryFactory() {
|
||||
return activityCImpl.getHiltInternalFactoryFactory();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewWithFragmentComponentBuilder viewWithFragmentComponentBuilder() {
|
||||
return new ViewWithFragmentCBuilder(singletonCImpl, activityRetainedCImpl, activityCImpl, fragmentCImpl);
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ViewCImpl extends SteCmdApplication_HiltComponents.ViewC {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ActivityCImpl activityCImpl;
|
||||
|
||||
private final ViewCImpl viewCImpl = this;
|
||||
|
||||
private ViewCImpl(SingletonCImpl singletonCImpl, ActivityRetainedCImpl activityRetainedCImpl,
|
||||
ActivityCImpl activityCImpl, View viewParam) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.activityCImpl = activityCImpl;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ActivityCImpl extends SteCmdApplication_HiltComponents.ActivityC {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ActivityCImpl activityCImpl = this;
|
||||
|
||||
private ActivityCImpl(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl, Activity activityParam) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectMainActivity(MainActivity arg0) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DefaultViewModelFactories.InternalFactoryFactory getHiltInternalFactoryFactory() {
|
||||
return DefaultViewModelFactories_InternalFactoryFactory_Factory.newInstance(getViewModelKeys(), new ViewModelCBuilder(singletonCImpl, activityRetainedCImpl));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Class<?>, Boolean> getViewModelKeys() {
|
||||
return LazyClassKeyMap.<Boolean>of(MapBuilder.<String, Boolean>newMapBuilder(4).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_ChangePasswordViewModel, ChangePasswordViewModel_HiltModules.KeyModule.provide()).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_ConfigViewModel, ConfigViewModel_HiltModules.KeyModule.provide()).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_LoginViewModel, LoginViewModel_HiltModules.KeyModule.provide()).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_MineViewModel, MineViewModel_HiltModules.KeyModule.provide()).build());
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewModelComponentBuilder getViewModelComponentBuilder() {
|
||||
return new ViewModelCBuilder(singletonCImpl, activityRetainedCImpl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FragmentComponentBuilder fragmentComponentBuilder() {
|
||||
return new FragmentCBuilder(singletonCImpl, activityRetainedCImpl, activityCImpl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewComponentBuilder viewComponentBuilder() {
|
||||
return new ViewCBuilder(singletonCImpl, activityRetainedCImpl, activityCImpl);
|
||||
}
|
||||
|
||||
@IdentifierNameString
|
||||
private static final class LazyClassKeyProvider {
|
||||
static String com_stec_cmd_feature_mine_LoginViewModel = "com.stec.cmd.feature.mine.LoginViewModel";
|
||||
|
||||
static String com_stec_cmd_feature_mine_ConfigViewModel = "com.stec.cmd.feature.mine.ConfigViewModel";
|
||||
|
||||
static String com_stec_cmd_feature_mine_MineViewModel = "com.stec.cmd.feature.mine.MineViewModel";
|
||||
|
||||
static String com_stec_cmd_feature_mine_ChangePasswordViewModel = "com.stec.cmd.feature.mine.ChangePasswordViewModel";
|
||||
|
||||
@KeepFieldType
|
||||
LoginViewModel com_stec_cmd_feature_mine_LoginViewModel2;
|
||||
|
||||
@KeepFieldType
|
||||
ConfigViewModel com_stec_cmd_feature_mine_ConfigViewModel2;
|
||||
|
||||
@KeepFieldType
|
||||
MineViewModel com_stec_cmd_feature_mine_MineViewModel2;
|
||||
|
||||
@KeepFieldType
|
||||
ChangePasswordViewModel com_stec_cmd_feature_mine_ChangePasswordViewModel2;
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ViewModelCImpl extends SteCmdApplication_HiltComponents.ViewModelC {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ViewModelCImpl viewModelCImpl = this;
|
||||
|
||||
private Provider<ChangePasswordViewModel> changePasswordViewModelProvider;
|
||||
|
||||
private Provider<ConfigViewModel> configViewModelProvider;
|
||||
|
||||
private Provider<LoginViewModel> loginViewModelProvider;
|
||||
|
||||
private Provider<MineViewModel> mineViewModelProvider;
|
||||
|
||||
private ViewModelCImpl(SingletonCImpl singletonCImpl,
|
||||
ActivityRetainedCImpl activityRetainedCImpl, SavedStateHandle savedStateHandleParam,
|
||||
ViewModelLifecycle viewModelLifecycleParam) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
|
||||
initialize(savedStateHandleParam, viewModelLifecycleParam);
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void initialize(final SavedStateHandle savedStateHandleParam,
|
||||
final ViewModelLifecycle viewModelLifecycleParam) {
|
||||
this.changePasswordViewModelProvider = new SwitchingProvider<>(singletonCImpl, activityRetainedCImpl, viewModelCImpl, 0);
|
||||
this.configViewModelProvider = new SwitchingProvider<>(singletonCImpl, activityRetainedCImpl, viewModelCImpl, 1);
|
||||
this.loginViewModelProvider = new SwitchingProvider<>(singletonCImpl, activityRetainedCImpl, viewModelCImpl, 2);
|
||||
this.mineViewModelProvider = new SwitchingProvider<>(singletonCImpl, activityRetainedCImpl, viewModelCImpl, 3);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Class<?>, javax.inject.Provider<ViewModel>> getHiltViewModelMap() {
|
||||
return LazyClassKeyMap.<javax.inject.Provider<ViewModel>>of(MapBuilder.<String, javax.inject.Provider<ViewModel>>newMapBuilder(4).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_ChangePasswordViewModel, ((Provider) changePasswordViewModelProvider)).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_ConfigViewModel, ((Provider) configViewModelProvider)).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_LoginViewModel, ((Provider) loginViewModelProvider)).put(LazyClassKeyProvider.com_stec_cmd_feature_mine_MineViewModel, ((Provider) mineViewModelProvider)).build());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Class<?>, Object> getHiltViewModelAssistedMap() {
|
||||
return Collections.<Class<?>, Object>emptyMap();
|
||||
}
|
||||
|
||||
@IdentifierNameString
|
||||
private static final class LazyClassKeyProvider {
|
||||
static String com_stec_cmd_feature_mine_LoginViewModel = "com.stec.cmd.feature.mine.LoginViewModel";
|
||||
|
||||
static String com_stec_cmd_feature_mine_ChangePasswordViewModel = "com.stec.cmd.feature.mine.ChangePasswordViewModel";
|
||||
|
||||
static String com_stec_cmd_feature_mine_MineViewModel = "com.stec.cmd.feature.mine.MineViewModel";
|
||||
|
||||
static String com_stec_cmd_feature_mine_ConfigViewModel = "com.stec.cmd.feature.mine.ConfigViewModel";
|
||||
|
||||
@KeepFieldType
|
||||
LoginViewModel com_stec_cmd_feature_mine_LoginViewModel2;
|
||||
|
||||
@KeepFieldType
|
||||
ChangePasswordViewModel com_stec_cmd_feature_mine_ChangePasswordViewModel2;
|
||||
|
||||
@KeepFieldType
|
||||
MineViewModel com_stec_cmd_feature_mine_MineViewModel2;
|
||||
|
||||
@KeepFieldType
|
||||
ConfigViewModel com_stec_cmd_feature_mine_ConfigViewModel2;
|
||||
}
|
||||
|
||||
private static final class SwitchingProvider<T> implements Provider<T> {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final ViewModelCImpl viewModelCImpl;
|
||||
|
||||
private final int id;
|
||||
|
||||
SwitchingProvider(SingletonCImpl singletonCImpl, ActivityRetainedCImpl activityRetainedCImpl,
|
||||
ViewModelCImpl viewModelCImpl, int id) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.viewModelCImpl = viewModelCImpl;
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public T get() {
|
||||
switch (id) {
|
||||
case 0: // com.stec.cmd.feature.mine.ChangePasswordViewModel
|
||||
return (T) new ChangePasswordViewModel(singletonCImpl.sessionRepositoryProvider.get());
|
||||
|
||||
case 1: // com.stec.cmd.feature.mine.ConfigViewModel
|
||||
return (T) new ConfigViewModel(singletonCImpl.configRepositoryProvider.get());
|
||||
|
||||
case 2: // com.stec.cmd.feature.mine.LoginViewModel
|
||||
return (T) new LoginViewModel(singletonCImpl.sessionRepositoryProvider.get(), singletonCImpl.configRepositoryProvider.get());
|
||||
|
||||
case 3: // com.stec.cmd.feature.mine.MineViewModel
|
||||
return (T) new MineViewModel(singletonCImpl.sessionRepositoryProvider.get(), singletonCImpl.configRepositoryProvider.get());
|
||||
|
||||
default: throw new AssertionError(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ActivityRetainedCImpl extends SteCmdApplication_HiltComponents.ActivityRetainedC {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl = this;
|
||||
|
||||
private Provider<ActivityRetainedLifecycle> provideActivityRetainedLifecycleProvider;
|
||||
|
||||
private ActivityRetainedCImpl(SingletonCImpl singletonCImpl,
|
||||
SavedStateHandleHolder savedStateHandleHolderParam) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
|
||||
initialize(savedStateHandleHolderParam);
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void initialize(final SavedStateHandleHolder savedStateHandleHolderParam) {
|
||||
this.provideActivityRetainedLifecycleProvider = DoubleCheck.provider(new SwitchingProvider<ActivityRetainedLifecycle>(singletonCImpl, activityRetainedCImpl, 0));
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActivityComponentBuilder activityComponentBuilder() {
|
||||
return new ActivityCBuilder(singletonCImpl, activityRetainedCImpl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActivityRetainedLifecycle getActivityRetainedLifecycle() {
|
||||
return provideActivityRetainedLifecycleProvider.get();
|
||||
}
|
||||
|
||||
private static final class SwitchingProvider<T> implements Provider<T> {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ActivityRetainedCImpl activityRetainedCImpl;
|
||||
|
||||
private final int id;
|
||||
|
||||
SwitchingProvider(SingletonCImpl singletonCImpl, ActivityRetainedCImpl activityRetainedCImpl,
|
||||
int id) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.activityRetainedCImpl = activityRetainedCImpl;
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public T get() {
|
||||
switch (id) {
|
||||
case 0: // dagger.hilt.android.ActivityRetainedLifecycle
|
||||
return (T) ActivityRetainedComponentManager_LifecycleModule_ProvideActivityRetainedLifecycleFactory.provideActivityRetainedLifecycle();
|
||||
|
||||
default: throw new AssertionError(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ServiceCImpl extends SteCmdApplication_HiltComponents.ServiceC {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final ServiceCImpl serviceCImpl = this;
|
||||
|
||||
private ServiceCImpl(SingletonCImpl singletonCImpl, Service serviceParam) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private static final class SingletonCImpl extends SteCmdApplication_HiltComponents.SingletonC {
|
||||
private final ApplicationContextModule applicationContextModule;
|
||||
|
||||
private final SingletonCImpl singletonCImpl = this;
|
||||
|
||||
private Provider<DataStore<Preferences>> provideConfigDataStoreProvider;
|
||||
|
||||
private Provider<ConfigRepository> configRepositoryProvider;
|
||||
|
||||
private Provider<OkHttpClient> provideOkHttpClientProvider;
|
||||
|
||||
private Provider<Json> provideJsonProvider;
|
||||
|
||||
private Provider<Retrofit> provideRetrofitProvider;
|
||||
|
||||
private Provider<AuthApi> provideAuthApiProvider;
|
||||
|
||||
private Provider<ApiCaller> apiCallerProvider;
|
||||
|
||||
private Provider<SessionRepository> sessionRepositoryProvider;
|
||||
|
||||
private SingletonCImpl(ApplicationContextModule applicationContextModuleParam) {
|
||||
this.applicationContextModule = applicationContextModuleParam;
|
||||
initialize(applicationContextModuleParam);
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void initialize(final ApplicationContextModule applicationContextModuleParam) {
|
||||
this.provideConfigDataStoreProvider = DoubleCheck.provider(new SwitchingProvider<DataStore<Preferences>>(singletonCImpl, 5));
|
||||
this.configRepositoryProvider = DoubleCheck.provider(new SwitchingProvider<ConfigRepository>(singletonCImpl, 4));
|
||||
this.provideOkHttpClientProvider = DoubleCheck.provider(new SwitchingProvider<OkHttpClient>(singletonCImpl, 3));
|
||||
this.provideJsonProvider = DoubleCheck.provider(new SwitchingProvider<Json>(singletonCImpl, 6));
|
||||
this.provideRetrofitProvider = DoubleCheck.provider(new SwitchingProvider<Retrofit>(singletonCImpl, 2));
|
||||
this.provideAuthApiProvider = DoubleCheck.provider(new SwitchingProvider<AuthApi>(singletonCImpl, 1));
|
||||
this.apiCallerProvider = DoubleCheck.provider(new SwitchingProvider<ApiCaller>(singletonCImpl, 7));
|
||||
this.sessionRepositoryProvider = DoubleCheck.provider(new SwitchingProvider<SessionRepository>(singletonCImpl, 0));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectSteCmdApplication(SteCmdApplication steCmdApplication) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<Boolean> getDisableFragmentGetContextFix() {
|
||||
return Collections.<Boolean>emptySet();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActivityRetainedComponentBuilder retainedComponentBuilder() {
|
||||
return new ActivityRetainedCBuilder(singletonCImpl);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ServiceComponentBuilder serviceComponentBuilder() {
|
||||
return new ServiceCBuilder(singletonCImpl);
|
||||
}
|
||||
|
||||
private static final class SwitchingProvider<T> implements Provider<T> {
|
||||
private final SingletonCImpl singletonCImpl;
|
||||
|
||||
private final int id;
|
||||
|
||||
SwitchingProvider(SingletonCImpl singletonCImpl, int id) {
|
||||
this.singletonCImpl = singletonCImpl;
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public T get() {
|
||||
switch (id) {
|
||||
case 0: // com.stec.cmd.session.SessionRepository
|
||||
return (T) new SessionRepository(singletonCImpl.provideAuthApiProvider.get(), singletonCImpl.apiCallerProvider.get(), singletonCImpl.configRepositoryProvider.get(), singletonCImpl.provideJsonProvider.get());
|
||||
|
||||
case 1: // com.stec.cmd.core.network.api.AuthApi
|
||||
return (T) NetworkModule_ProvideAuthApiFactory.provideAuthApi(singletonCImpl.provideRetrofitProvider.get());
|
||||
|
||||
case 2: // retrofit2.Retrofit
|
||||
return (T) NetworkModule_ProvideRetrofitFactory.provideRetrofit(singletonCImpl.provideOkHttpClientProvider.get(), singletonCImpl.provideJsonProvider.get());
|
||||
|
||||
case 3: // okhttp3.OkHttpClient
|
||||
return (T) NetworkModule_ProvideOkHttpClientFactory.provideOkHttpClient(singletonCImpl.configRepositoryProvider.get());
|
||||
|
||||
case 4: // com.stec.cmd.config.ConfigRepository
|
||||
return (T) new ConfigRepository(singletonCImpl.provideConfigDataStoreProvider.get());
|
||||
|
||||
case 5: // androidx.datastore.core.DataStore<androidx.datastore.preferences.core.Preferences>
|
||||
return (T) AppModule_ProvideConfigDataStoreFactory.provideConfigDataStore(ApplicationContextModule_ProvideContextFactory.provideContext(singletonCImpl.applicationContextModule));
|
||||
|
||||
case 6: // kotlinx.serialization.json.Json
|
||||
return (T) NetworkModule_ProvideJsonFactory.provideJson();
|
||||
|
||||
case 7: // com.stec.cmd.core.network.ApiCaller
|
||||
return (T) new ApiCaller(singletonCImpl.provideJsonProvider.get());
|
||||
|
||||
default: throw new AssertionError(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.stec.cmd;
|
||||
|
||||
import android.app.Application;
|
||||
import androidx.annotation.CallSuper;
|
||||
import dagger.hilt.android.internal.managers.ApplicationComponentManager;
|
||||
import dagger.hilt.android.internal.managers.ComponentSupplier;
|
||||
import dagger.hilt.android.internal.modules.ApplicationContextModule;
|
||||
import dagger.hilt.internal.GeneratedComponentManagerHolder;
|
||||
import dagger.hilt.internal.UnsafeCasts;
|
||||
import java.lang.Object;
|
||||
import java.lang.Override;
|
||||
import javax.annotation.processing.Generated;
|
||||
|
||||
/**
|
||||
* A generated base class to be extended by the @dagger.hilt.android.HiltAndroidApp annotated class. If using the Gradle plugin, this is swapped as the base class via bytecode transformation.
|
||||
*/
|
||||
@Generated("dagger.hilt.android.processor.internal.androidentrypoint.ApplicationGenerator")
|
||||
public abstract class Hilt_SteCmdApplication extends Application implements GeneratedComponentManagerHolder {
|
||||
private boolean injected = false;
|
||||
|
||||
private final ApplicationComponentManager componentManager = new ApplicationComponentManager(new ComponentSupplier() {
|
||||
@Override
|
||||
public Object get() {
|
||||
return DaggerSteCmdApplication_HiltComponents_SingletonC.builder()
|
||||
.applicationContextModule(new ApplicationContextModule(Hilt_SteCmdApplication.this))
|
||||
.build();
|
||||
}
|
||||
});
|
||||
|
||||
@Override
|
||||
public final ApplicationComponentManager componentManager() {
|
||||
return componentManager;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Object generatedComponent() {
|
||||
return this.componentManager().generatedComponent();
|
||||
}
|
||||
|
||||
@CallSuper
|
||||
@Override
|
||||
public void onCreate() {
|
||||
hiltInternalInject();
|
||||
super.onCreate();
|
||||
}
|
||||
|
||||
protected void hiltInternalInject() {
|
||||
if (!injected) {
|
||||
injected = true;
|
||||
// This is a known unsafe cast, but is safe in the only correct use case:
|
||||
// SteCmdApplication extends Hilt_SteCmdApplication
|
||||
((SteCmdApplication_GeneratedInjector) generatedComponent()).injectSteCmdApplication(UnsafeCasts.<SteCmdApplication>unsafeCast(this));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.stec.cmd;
|
||||
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.codegen.OriginatingElement;
|
||||
import dagger.hilt.components.SingletonComponent;
|
||||
import dagger.hilt.internal.GeneratedEntryPoint;
|
||||
import javax.annotation.processing.Generated;
|
||||
|
||||
@OriginatingElement(
|
||||
topLevelClass = SteCmdApplication.class
|
||||
)
|
||||
@GeneratedEntryPoint
|
||||
@InstallIn(SingletonComponent.class)
|
||||
@Generated("dagger.hilt.android.processor.internal.androidentrypoint.InjectorEntryPointGenerator")
|
||||
public interface SteCmdApplication_GeneratedInjector {
|
||||
void injectSteCmdApplication(SteCmdApplication steCmdApplication);
|
||||
}
|
||||
@@ -0,0 +1,266 @@
|
||||
package com.stec.cmd;
|
||||
|
||||
import com.stec.cmd.config.AppModule;
|
||||
import com.stec.cmd.config.ConfigBindModule;
|
||||
import com.stec.cmd.core.database.DatabaseModule;
|
||||
import com.stec.cmd.core.network.NetworkModule;
|
||||
import com.stec.cmd.feature.mine.ChangePasswordFragment_GeneratedInjector;
|
||||
import com.stec.cmd.feature.mine.ChangePasswordViewModel_HiltModules;
|
||||
import com.stec.cmd.feature.mine.ConfigFragment_GeneratedInjector;
|
||||
import com.stec.cmd.feature.mine.ConfigViewModel_HiltModules;
|
||||
import com.stec.cmd.feature.mine.LoginFragment_GeneratedInjector;
|
||||
import com.stec.cmd.feature.mine.LoginViewModel_HiltModules;
|
||||
import com.stec.cmd.feature.mine.MineFragment_GeneratedInjector;
|
||||
import com.stec.cmd.feature.mine.MineViewModel_HiltModules;
|
||||
import dagger.Binds;
|
||||
import dagger.Component;
|
||||
import dagger.Module;
|
||||
import dagger.Subcomponent;
|
||||
import dagger.hilt.android.components.ActivityComponent;
|
||||
import dagger.hilt.android.components.ActivityRetainedComponent;
|
||||
import dagger.hilt.android.components.FragmentComponent;
|
||||
import dagger.hilt.android.components.ServiceComponent;
|
||||
import dagger.hilt.android.components.ViewComponent;
|
||||
import dagger.hilt.android.components.ViewModelComponent;
|
||||
import dagger.hilt.android.components.ViewWithFragmentComponent;
|
||||
import dagger.hilt.android.flags.FragmentGetContextFix;
|
||||
import dagger.hilt.android.flags.HiltWrapper_FragmentGetContextFix_FragmentGetContextFixModule;
|
||||
import dagger.hilt.android.internal.builders.ActivityComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ActivityRetainedComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.FragmentComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ServiceComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ViewComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ViewModelComponentBuilder;
|
||||
import dagger.hilt.android.internal.builders.ViewWithFragmentComponentBuilder;
|
||||
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
|
||||
import dagger.hilt.android.internal.lifecycle.HiltViewModelFactory;
|
||||
import dagger.hilt.android.internal.lifecycle.HiltWrapper_DefaultViewModelFactories_ActivityModule;
|
||||
import dagger.hilt.android.internal.lifecycle.HiltWrapper_HiltViewModelFactory_ActivityCreatorEntryPoint;
|
||||
import dagger.hilt.android.internal.lifecycle.HiltWrapper_HiltViewModelFactory_ViewModelModule;
|
||||
import dagger.hilt.android.internal.managers.ActivityComponentManager;
|
||||
import dagger.hilt.android.internal.managers.FragmentComponentManager;
|
||||
import dagger.hilt.android.internal.managers.HiltWrapper_ActivityRetainedComponentManager_ActivityRetainedComponentBuilderEntryPoint;
|
||||
import dagger.hilt.android.internal.managers.HiltWrapper_ActivityRetainedComponentManager_ActivityRetainedLifecycleEntryPoint;
|
||||
import dagger.hilt.android.internal.managers.HiltWrapper_ActivityRetainedComponentManager_LifecycleModule;
|
||||
import dagger.hilt.android.internal.managers.HiltWrapper_SavedStateHandleModule;
|
||||
import dagger.hilt.android.internal.managers.ServiceComponentManager;
|
||||
import dagger.hilt.android.internal.managers.ViewComponentManager;
|
||||
import dagger.hilt.android.internal.modules.ApplicationContextModule;
|
||||
import dagger.hilt.android.internal.modules.HiltWrapper_ActivityModule;
|
||||
import dagger.hilt.android.scopes.ActivityRetainedScoped;
|
||||
import dagger.hilt.android.scopes.ActivityScoped;
|
||||
import dagger.hilt.android.scopes.FragmentScoped;
|
||||
import dagger.hilt.android.scopes.ServiceScoped;
|
||||
import dagger.hilt.android.scopes.ViewModelScoped;
|
||||
import dagger.hilt.android.scopes.ViewScoped;
|
||||
import dagger.hilt.components.SingletonComponent;
|
||||
import dagger.hilt.internal.GeneratedComponent;
|
||||
import dagger.hilt.migration.DisableInstallInCheck;
|
||||
import javax.annotation.processing.Generated;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
public final class SteCmdApplication_HiltComponents {
|
||||
private SteCmdApplication_HiltComponents() {
|
||||
}
|
||||
|
||||
@Module(
|
||||
subcomponents = ServiceC.class
|
||||
)
|
||||
@DisableInstallInCheck
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
abstract interface ServiceCBuilderModule {
|
||||
@Binds
|
||||
ServiceComponentBuilder bind(ServiceC.Builder builder);
|
||||
}
|
||||
|
||||
@Module(
|
||||
subcomponents = ActivityRetainedC.class
|
||||
)
|
||||
@DisableInstallInCheck
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
abstract interface ActivityRetainedCBuilderModule {
|
||||
@Binds
|
||||
ActivityRetainedComponentBuilder bind(ActivityRetainedC.Builder builder);
|
||||
}
|
||||
|
||||
@Module(
|
||||
subcomponents = ActivityC.class
|
||||
)
|
||||
@DisableInstallInCheck
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
abstract interface ActivityCBuilderModule {
|
||||
@Binds
|
||||
ActivityComponentBuilder bind(ActivityC.Builder builder);
|
||||
}
|
||||
|
||||
@Module(
|
||||
subcomponents = ViewModelC.class
|
||||
)
|
||||
@DisableInstallInCheck
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
abstract interface ViewModelCBuilderModule {
|
||||
@Binds
|
||||
ViewModelComponentBuilder bind(ViewModelC.Builder builder);
|
||||
}
|
||||
|
||||
@Module(
|
||||
subcomponents = ViewC.class
|
||||
)
|
||||
@DisableInstallInCheck
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
abstract interface ViewCBuilderModule {
|
||||
@Binds
|
||||
ViewComponentBuilder bind(ViewC.Builder builder);
|
||||
}
|
||||
|
||||
@Module(
|
||||
subcomponents = FragmentC.class
|
||||
)
|
||||
@DisableInstallInCheck
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
abstract interface FragmentCBuilderModule {
|
||||
@Binds
|
||||
FragmentComponentBuilder bind(FragmentC.Builder builder);
|
||||
}
|
||||
|
||||
@Module(
|
||||
subcomponents = ViewWithFragmentC.class
|
||||
)
|
||||
@DisableInstallInCheck
|
||||
@Generated("dagger.hilt.processor.internal.root.RootProcessor")
|
||||
abstract interface ViewWithFragmentCBuilderModule {
|
||||
@Binds
|
||||
ViewWithFragmentComponentBuilder bind(ViewWithFragmentC.Builder builder);
|
||||
}
|
||||
|
||||
@Component(
|
||||
modules = {
|
||||
AppModule.class,
|
||||
ApplicationContextModule.class,
|
||||
ConfigBindModule.class,
|
||||
DatabaseModule.class,
|
||||
HiltWrapper_FragmentGetContextFix_FragmentGetContextFixModule.class,
|
||||
NetworkModule.class,
|
||||
ActivityRetainedCBuilderModule.class,
|
||||
ServiceCBuilderModule.class
|
||||
}
|
||||
)
|
||||
@Singleton
|
||||
public abstract static class SingletonC implements SteCmdApplication_GeneratedInjector,
|
||||
FragmentGetContextFix.FragmentGetContextFixEntryPoint,
|
||||
HiltWrapper_ActivityRetainedComponentManager_ActivityRetainedComponentBuilderEntryPoint,
|
||||
ServiceComponentManager.ServiceComponentBuilderEntryPoint,
|
||||
SingletonComponent,
|
||||
GeneratedComponent {
|
||||
}
|
||||
|
||||
@Subcomponent
|
||||
@ServiceScoped
|
||||
public abstract static class ServiceC implements ServiceComponent,
|
||||
GeneratedComponent {
|
||||
@Subcomponent.Builder
|
||||
abstract interface Builder extends ServiceComponentBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
@Subcomponent(
|
||||
modules = {
|
||||
ChangePasswordViewModel_HiltModules.KeyModule.class,
|
||||
ConfigViewModel_HiltModules.KeyModule.class,
|
||||
HiltWrapper_ActivityRetainedComponentManager_LifecycleModule.class,
|
||||
HiltWrapper_SavedStateHandleModule.class,
|
||||
LoginViewModel_HiltModules.KeyModule.class,
|
||||
MineViewModel_HiltModules.KeyModule.class,
|
||||
ActivityCBuilderModule.class,
|
||||
ViewModelCBuilderModule.class
|
||||
}
|
||||
)
|
||||
@ActivityRetainedScoped
|
||||
public abstract static class ActivityRetainedC implements ActivityRetainedComponent,
|
||||
ActivityComponentManager.ActivityComponentBuilderEntryPoint,
|
||||
HiltWrapper_ActivityRetainedComponentManager_ActivityRetainedLifecycleEntryPoint,
|
||||
GeneratedComponent {
|
||||
@Subcomponent.Builder
|
||||
abstract interface Builder extends ActivityRetainedComponentBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
@Subcomponent(
|
||||
modules = {
|
||||
HiltWrapper_ActivityModule.class,
|
||||
HiltWrapper_DefaultViewModelFactories_ActivityModule.class,
|
||||
FragmentCBuilderModule.class,
|
||||
ViewCBuilderModule.class
|
||||
}
|
||||
)
|
||||
@ActivityScoped
|
||||
public abstract static class ActivityC implements MainActivity_GeneratedInjector,
|
||||
ActivityComponent,
|
||||
DefaultViewModelFactories.ActivityEntryPoint,
|
||||
HiltWrapper_HiltViewModelFactory_ActivityCreatorEntryPoint,
|
||||
FragmentComponentManager.FragmentComponentBuilderEntryPoint,
|
||||
ViewComponentManager.ViewComponentBuilderEntryPoint,
|
||||
GeneratedComponent {
|
||||
@Subcomponent.Builder
|
||||
abstract interface Builder extends ActivityComponentBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
@Subcomponent(
|
||||
modules = {
|
||||
ChangePasswordViewModel_HiltModules.BindsModule.class,
|
||||
ConfigViewModel_HiltModules.BindsModule.class,
|
||||
HiltWrapper_HiltViewModelFactory_ViewModelModule.class,
|
||||
LoginViewModel_HiltModules.BindsModule.class,
|
||||
MineViewModel_HiltModules.BindsModule.class
|
||||
}
|
||||
)
|
||||
@ViewModelScoped
|
||||
public abstract static class ViewModelC implements ViewModelComponent,
|
||||
HiltViewModelFactory.ViewModelFactoriesEntryPoint,
|
||||
GeneratedComponent {
|
||||
@Subcomponent.Builder
|
||||
abstract interface Builder extends ViewModelComponentBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
@Subcomponent
|
||||
@ViewScoped
|
||||
public abstract static class ViewC implements ViewComponent,
|
||||
GeneratedComponent {
|
||||
@Subcomponent.Builder
|
||||
abstract interface Builder extends ViewComponentBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
@Subcomponent(
|
||||
modules = ViewWithFragmentCBuilderModule.class
|
||||
)
|
||||
@FragmentScoped
|
||||
public abstract static class FragmentC implements CollectFragment_GeneratedInjector,
|
||||
HomeFragment_GeneratedInjector,
|
||||
StatsFragment_GeneratedInjector,
|
||||
TaskFragment_GeneratedInjector,
|
||||
ChangePasswordFragment_GeneratedInjector,
|
||||
ConfigFragment_GeneratedInjector,
|
||||
LoginFragment_GeneratedInjector,
|
||||
MineFragment_GeneratedInjector,
|
||||
FragmentComponent,
|
||||
DefaultViewModelFactories.FragmentEntryPoint,
|
||||
ViewComponentManager.ViewWithFragmentComponentBuilderEntryPoint,
|
||||
GeneratedComponent {
|
||||
@Subcomponent.Builder
|
||||
abstract interface Builder extends FragmentComponentBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
@Subcomponent
|
||||
@ViewScoped
|
||||
public abstract static class ViewWithFragmentC implements ViewWithFragmentComponent,
|
||||
GeneratedComponent {
|
||||
@Subcomponent.Builder
|
||||
abstract interface Builder extends ViewWithFragmentComponentBuilder {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package dagger.hilt.internal.aggregatedroot.codegen;
|
||||
|
||||
import dagger.hilt.android.HiltAndroidApp;
|
||||
import dagger.hilt.internal.aggregatedroot.AggregatedRoot;
|
||||
import javax.annotation.processing.Generated;
|
||||
|
||||
/**
|
||||
* This class should only be referenced by generated code! This class aggregates information across multiple compilations.
|
||||
*/
|
||||
@AggregatedRoot(
|
||||
root = "com.stec.cmd.SteCmdApplication",
|
||||
rootPackage = "com.stec.cmd",
|
||||
originatingRoot = "com.stec.cmd.SteCmdApplication",
|
||||
originatingRootPackage = "com.stec.cmd",
|
||||
rootAnnotation = HiltAndroidApp.class,
|
||||
rootSimpleNames = "SteCmdApplication",
|
||||
originatingRootSimpleNames = "SteCmdApplication"
|
||||
)
|
||||
@Generated("dagger.hilt.processor.internal.root.AggregatedRootGenerator")
|
||||
public class _com_stec_cmd_SteCmdApplication {
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package hilt_aggregated_deps;
|
||||
|
||||
import dagger.hilt.processor.internal.aggregateddeps.AggregatedDeps;
|
||||
import javax.annotation.processing.Generated;
|
||||
|
||||
/**
|
||||
* This class should only be referenced by generated code! This class aggregates information across multiple compilations.
|
||||
*/
|
||||
@AggregatedDeps(
|
||||
components = "dagger.hilt.components.SingletonComponent",
|
||||
entryPoints = "com.stec.cmd.SteCmdApplication_GeneratedInjector"
|
||||
)
|
||||
@Generated("dagger.hilt.processor.internal.aggregateddeps.AggregatedDepsGenerator")
|
||||
public class _com_stec_cmd_SteCmdApplication_GeneratedInjector {
|
||||
}
|
||||
Reference in New Issue
Block a user