Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import androidx.fragment.app.K;
|
||||
import androidx.lifecycle.y0;
|
||||
import dagger.hilt.android.flags.FragmentGetContextFix;
|
||||
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
|
||||
import dagger.hilt.android.internal.managers.FragmentComponentManager;
|
||||
import dagger.hilt.internal.GeneratedComponentManagerHolder;
|
||||
import dagger.hilt.internal.Preconditions;
|
||||
import dagger.hilt.internal.UnsafeCasts;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public abstract class Hilt_MoreAdifFragment extends K implements GeneratedComponentManagerHolder {
|
||||
private ContextWrapper componentContext;
|
||||
private volatile FragmentComponentManager componentManager;
|
||||
private final Object componentManagerLock;
|
||||
private boolean disableGetContextFix;
|
||||
private boolean injected;
|
||||
|
||||
public Hilt_MoreAdifFragment() {
|
||||
this.componentManagerLock = new Object();
|
||||
this.injected = false;
|
||||
}
|
||||
|
||||
private void initializeComponentContext() {
|
||||
if (this.componentContext == null) {
|
||||
this.componentContext = FragmentComponentManager.createContextWrapper(super.getContext(), this);
|
||||
this.disableGetContextFix = FragmentGetContextFix.isFragmentGetContextFixDisabled(super.getContext());
|
||||
}
|
||||
}
|
||||
|
||||
public FragmentComponentManager createComponentManager() {
|
||||
return new FragmentComponentManager(this);
|
||||
}
|
||||
|
||||
@Override // dagger.hilt.internal.GeneratedComponentManager
|
||||
public final Object generatedComponent() {
|
||||
return componentManager().generatedComponent();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public Context getContext() {
|
||||
if (super.getContext() == null && !this.disableGetContextFix) {
|
||||
return null;
|
||||
}
|
||||
initializeComponentContext();
|
||||
return this.componentContext;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K, androidx.lifecycle.InterfaceC0200v
|
||||
public y0 getDefaultViewModelProviderFactory() {
|
||||
return DefaultViewModelFactories.getFragmentFactory(this, super.getDefaultViewModelProviderFactory());
|
||||
}
|
||||
|
||||
public void inject() {
|
||||
if (this.injected) {
|
||||
return;
|
||||
}
|
||||
this.injected = true;
|
||||
((MoreAdifFragment_GeneratedInjector) generatedComponent()).injectMoreAdifFragment((MoreAdifFragment) UnsafeCasts.unsafeCast(this));
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onAttach(Context context) {
|
||||
super.onAttach(context);
|
||||
initializeComponentContext();
|
||||
inject();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
|
||||
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
|
||||
return onGetLayoutInflater.cloneInContext(FragmentComponentManager.createContextWrapper(onGetLayoutInflater, this));
|
||||
}
|
||||
|
||||
@Override // dagger.hilt.internal.GeneratedComponentManagerHolder
|
||||
public final FragmentComponentManager componentManager() {
|
||||
if (this.componentManager == null) {
|
||||
synchronized (this.componentManagerLock) {
|
||||
try {
|
||||
if (this.componentManager == null) {
|
||||
this.componentManager = createComponentManager();
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
return this.componentManager;
|
||||
}
|
||||
|
||||
public Hilt_MoreAdifFragment(int i) {
|
||||
super(i);
|
||||
this.componentManagerLock = new Object();
|
||||
this.injected = false;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
ContextWrapper contextWrapper = this.componentContext;
|
||||
Preconditions.checkState(contextWrapper == null || FragmentComponentManager.findActivity(contextWrapper) == activity, "onAttach called multiple times with different Context! Hilt Fragments should not be retained.", new Object[0]);
|
||||
initializeComponentContext();
|
||||
inject();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import G2.l;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import androidx.recyclerview.widget.AbstractC0220h0;
|
||||
import androidx.recyclerview.widget.I0;
|
||||
import com.adif.elcanomovil.uiMoreAdif.MoreActions;
|
||||
import com.adif.elcanomovil.uiMoreAdif.MoreItem;
|
||||
import com.adif.elcanomovil.uiMoreAdif.R;
|
||||
import com.google.android.gms.common.internal.ServiceSpecificExtraArgs;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\r\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u001aB)\u0012\f\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003\u0012\u0012\u0010\t\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\b0\u0006¢\u0006\u0004\b\n\u0010\u000bJ\u001f\u0010\u0010\u001a\u00020\u00022\u0006\u0010\r\u001a\u00020\f2\u0006\u0010\u000f\u001a\u00020\u000eH\u0016¢\u0006\u0004\b\u0010\u0010\u0011J\u000f\u0010\u0012\u001a\u00020\u000eH\u0016¢\u0006\u0004\b\u0012\u0010\u0013J\u001f\u0010\u0016\u001a\u00020\b2\u0006\u0010\u0014\u001a\u00020\u00022\u0006\u0010\u0015\u001a\u00020\u000eH\u0016¢\u0006\u0004\b\u0016\u0010\u0017R\u001a\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00040\u00038\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0005\u0010\u0018R \u0010\t\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\b0\u00068\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\t\u0010\u0019¨\u0006\u001b"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifAdapter;", "Landroidx/recyclerview/widget/h0;", "Landroidx/recyclerview/widget/I0;", "", "Lcom/adif/elcanomovil/uiMoreAdif/MoreItem;", FirebaseAnalytics.Param.ITEMS, "Lkotlin/Function1;", "Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;", "", ServiceSpecificExtraArgs.CastExtraArgs.LISTENER, "<init>", "(Ljava/util/List;Lkotlin/jvm/functions/Function1;)V", "Landroid/view/ViewGroup;", "parent", "", "viewType", "onCreateViewHolder", "(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/I0;", "getItemCount", "()I", "holder", "position", "onBindViewHolder", "(Landroidx/recyclerview/widget/I0;I)V", "Ljava/util/List;", "Lkotlin/jvm/functions/Function1;", "com/adif/elcanomovil/uiMoreAdif/main/a", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifAdapter extends AbstractC0220h0 {
|
||||
private final List<MoreItem> items;
|
||||
private final Function1<MoreActions, Unit> listener;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public MoreAdifAdapter(List<MoreItem> items, Function1<? super MoreActions, Unit> listener) {
|
||||
Intrinsics.checkNotNullParameter(items, "items");
|
||||
Intrinsics.checkNotNullParameter(listener, "listener");
|
||||
this.items = items;
|
||||
this.listener = listener;
|
||||
}
|
||||
|
||||
@Override // androidx.recyclerview.widget.AbstractC0220h0
|
||||
public int getItemCount() {
|
||||
return this.items.size();
|
||||
}
|
||||
|
||||
@Override // androidx.recyclerview.widget.AbstractC0220h0
|
||||
public void onBindViewHolder(I0 holder, int position) {
|
||||
Intrinsics.checkNotNullParameter(holder, "holder");
|
||||
if (holder instanceof a) {
|
||||
a aVar = (a) holder;
|
||||
MoreItem item = this.items.get(position);
|
||||
Function1<MoreActions, Unit> listener = this.listener;
|
||||
aVar.getClass();
|
||||
Intrinsics.checkNotNullParameter(item, "item");
|
||||
Intrinsics.checkNotNullParameter(listener, "listener");
|
||||
((TextView) aVar.itemView.findViewById(R.id.title)).setText(aVar.itemView.getContext().getString(item.getType().getTitle()));
|
||||
((ImageView) aVar.itemView.findViewById(R.id.icon)).setImageResource(item.getIcon());
|
||||
aVar.itemView.setOnClickListener(new l(6, listener, item));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.recyclerview.widget.AbstractC0220h0
|
||||
public I0 onCreateViewHolder(ViewGroup parent, int viewType) {
|
||||
Intrinsics.checkNotNullParameter(parent, "parent");
|
||||
View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_option, parent, false);
|
||||
Intrinsics.checkNotNull(itemView);
|
||||
Intrinsics.checkNotNullParameter(itemView, "itemView");
|
||||
return new I0(itemView);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,185 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import D.h;
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.drawable.PaintDrawable;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import androidx.fragment.app.K;
|
||||
import androidx.lifecycle.C0;
|
||||
import androidx.lifecycle.D0;
|
||||
import androidx.lifecycle.InterfaceC0200v;
|
||||
import androidx.lifecycle.J;
|
||||
import androidx.lifecycle.y0;
|
||||
import androidx.recyclerview.widget.AbstractC0220h0;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import b1.InterfaceC0266a;
|
||||
import b1.f;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationHandler;
|
||||
import com.adif.elcanomovil.commonViews.LinearDividerDecoration;
|
||||
import com.adif.elcanomovil.commonViews.utils.ScreenUtils;
|
||||
import com.adif.elcanomovil.uiMoreAdif.R;
|
||||
import com.adif.elcanomovil.uiMoreAdif.databinding.FragmentMoreAdifBinding;
|
||||
import dagger.hilt.android.AndroidEntryPoint;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.LazyKt;
|
||||
import kotlin.LazyThreadSafetyMode;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Reflection;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import l0.C0435a;
|
||||
import m3.d;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u000f\u0010\u0005\u001a\u00020\u0004H\u0002¢\u0006\u0004\b\u0005\u0010\u0003J\u000f\u0010\u0006\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\u0006\u0010\u0003J!\u0010\u000b\u001a\u00020\u00042\u0006\u0010\b\u001a\u00020\u00072\b\u0010\n\u001a\u0004\u0018\u00010\tH\u0016¢\u0006\u0004\b\u000b\u0010\fJ\u000f\u0010\r\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\r\u0010\u0003R\u0018\u0010\u000f\u001a\u0004\u0018\u00010\u000e8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\u0010R\u001b\u0010\u0016\u001a\u00020\u00118BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0012\u0010\u0013\u001a\u0004\b\u0014\u0010\u0015¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "", "configureRecyclerView", "onDestroyView", "Landroid/view/View;", "view", "Landroid/os/Bundle;", "savedInstanceState", "onViewCreated", "(Landroid/view/View;Landroid/os/Bundle;)V", "onDestroy", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentMoreAdifBinding;", "binding", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentMoreAdifBinding;", "Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifViewModel;", "viewModel$delegate", "Lkotlin/Lazy;", "getViewModel", "()Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifViewModel;", "viewModel", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@AndroidEntryPoint
|
||||
@SourceDebugExtension({"SMAP\nMoreAdifFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MoreAdifFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragment\n+ 2 FragmentViewModelLazy.kt\nandroidx/fragment/app/FragmentViewModelLazyKt\n*L\n1#1,75:1\n106#2,15:76\n*S KotlinDebug\n*F\n+ 1 MoreAdifFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragment\n*L\n25#1:76,15\n*E\n"})
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifFragment extends Hilt_MoreAdifFragment {
|
||||
private FragmentMoreAdifBinding binding;
|
||||
|
||||
/* renamed from: viewModel$delegate, reason: from kotlin metadata */
|
||||
private final Lazy viewModel;
|
||||
|
||||
public MoreAdifFragment() {
|
||||
super(R.layout.fragment_more_adif);
|
||||
final Function0<K> function0 = new Function0<K>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$1
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final K invoke() {
|
||||
return K.this;
|
||||
}
|
||||
};
|
||||
final Lazy lazy = LazyKt.lazy(LazyThreadSafetyMode.NONE, (Function0) new Function0<D0>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$2
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final D0 invoke() {
|
||||
return (D0) Function0.this.invoke();
|
||||
}
|
||||
});
|
||||
final Function0 function02 = null;
|
||||
this.viewModel = d.n(this, Reflection.getOrCreateKotlinClass(MoreAdifViewModel.class), new Function0<C0>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$3
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final C0 invoke() {
|
||||
return ((D0) Lazy.this.getValue()).getViewModelStore();
|
||||
}
|
||||
}, new Function0<l0.c>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$4
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final l0.c invoke() {
|
||||
l0.c cVar;
|
||||
Function0 function03 = Function0.this;
|
||||
if (function03 != null && (cVar = (l0.c) function03.invoke()) != null) {
|
||||
return cVar;
|
||||
}
|
||||
D0 d02 = (D0) lazy.getValue();
|
||||
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
|
||||
return interfaceC0200v != null ? interfaceC0200v.getDefaultViewModelCreationExtras() : C0435a.f7312b;
|
||||
}
|
||||
}, new Function0<y0>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$5
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final y0 invoke() {
|
||||
y0 defaultViewModelProviderFactory;
|
||||
D0 d02 = (D0) lazy.getValue();
|
||||
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
|
||||
if (interfaceC0200v != null && (defaultViewModelProviderFactory = interfaceC0200v.getDefaultViewModelProviderFactory()) != null) {
|
||||
return defaultViewModelProviderFactory;
|
||||
}
|
||||
y0 defaultViewModelProviderFactory2 = K.this.getDefaultViewModelProviderFactory();
|
||||
Intrinsics.checkNotNullExpressionValue(defaultViewModelProviderFactory2, "defaultViewModelProviderFactory");
|
||||
return defaultViewModelProviderFactory2;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static final /* synthetic */ MoreAdifViewModel access$getViewModel(MoreAdifFragment moreAdifFragment) {
|
||||
return moreAdifFragment.getViewModel();
|
||||
}
|
||||
|
||||
private final void configureRecyclerView() {
|
||||
FragmentMoreAdifBinding fragmentMoreAdifBinding = this.binding;
|
||||
if (fragmentMoreAdifBinding == null) {
|
||||
return;
|
||||
}
|
||||
fragmentMoreAdifBinding.optionsRecyclerView.setAdapter(new MoreAdifAdapter(getViewModel().getItems(), new I1.b(this, 11)));
|
||||
AbstractC0220h0 adapter = fragmentMoreAdifBinding.optionsRecyclerView.getAdapter();
|
||||
if (adapter != null) {
|
||||
adapter.notifyDataSetChanged();
|
||||
}
|
||||
Context context = getContext();
|
||||
if (context != null) {
|
||||
RecyclerView recyclerView = fragmentMoreAdifBinding.optionsRecyclerView;
|
||||
PaintDrawable paintDrawable = new PaintDrawable(h.getColor(context, R.color.colorPrimary));
|
||||
float dpToPx = ScreenUtils.INSTANCE.dpToPx(0.7f);
|
||||
Resources resources = context.getResources();
|
||||
int i = R.dimen.default_horizontal_padding;
|
||||
recyclerView.i(new LinearDividerDecoration(paintDrawable, dpToPx, resources.getDimension(i), context.getResources().getDimension(i), false));
|
||||
}
|
||||
}
|
||||
|
||||
public final MoreAdifViewModel getViewModel() {
|
||||
return (MoreAdifViewModel) this.viewModel.getValue();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
this.binding = null;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
Intrinsics.checkNotNullParameter(view, "view");
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
this.binding = FragmentMoreAdifBinding.bind(view);
|
||||
configureRecyclerView();
|
||||
MoreAdifViewModel viewModel = getViewModel();
|
||||
Bundle arguments = getArguments();
|
||||
String string = arguments != null ? arguments.getString(NavArguments.ARG_COMMERCIAL_NUMBER) : null;
|
||||
Bundle arguments2 = getArguments();
|
||||
String string2 = arguments2 != null ? arguments2.getString(NavArguments.ARG_ORIGIN_STATION_CODE) : null;
|
||||
Bundle arguments3 = getArguments();
|
||||
String string3 = arguments3 != null ? arguments3.getString(NavArguments.ARG_DESTINATION_STATION_CODE) : null;
|
||||
Bundle arguments4 = getArguments();
|
||||
viewModel.checkDestination(string, string2, string3, arguments4 != null ? Long.valueOf(arguments4.getLong(NavArguments.ARG_LAUNCHING_DATE)) : null);
|
||||
Bundle arguments5 = getArguments();
|
||||
if (arguments5 != null) {
|
||||
arguments5.clear();
|
||||
}
|
||||
InterfaceC0266a navigation = getViewModel().getNavigation();
|
||||
J viewLifecycleOwner = getViewLifecycleOwner();
|
||||
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner, "getViewLifecycleOwner(...)");
|
||||
((f) navigation).a(viewLifecycleOwner, new NavigationHandler(this));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.R;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import o0.C0524a;
|
||||
import o0.F;
|
||||
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\u0018\u0000 \u00042\u00020\u0001:\u0002\u0004\u0005B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragmentDirections;", "", "<init>", "()V", "Companion", "com/adif/elcanomovil/uiMoreAdif/main/b", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifFragmentDirections {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\b\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\r\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0005\u0010\u0006J\r\u0010\u0007\u001a\u00020\u0004¢\u0006\u0004\b\u0007\u0010\u0006J\r\u0010\b\u001a\u00020\u0004¢\u0006\u0004\b\b\u0010\u0006J\r\u0010\t\u001a\u00020\u0004¢\u0006\u0004\b\t\u0010\u0006J\r\u0010\n\u001a\u00020\u0004¢\u0006\u0004\b\n\u0010\u0006J\r\u0010\u000b\u001a\u00020\u0004¢\u0006\u0004\b\u000b\u0010\u0006Jk\u0010\u0016\u001a\u00020\u00042\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\f2\b\b\u0002\u0010\u0011\u001a\u00020\u00102\n\b\u0002\u0010\u0012\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u0015\u001a\u0004\u0018\u00010\f¢\u0006\u0004\b\u0016\u0010\u0017¨\u0006\u0018"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragmentDirections$Companion;", "", "<init>", "()V", "Lo0/F;", "toHelpFragment", "()Lo0/F;", "toAccessibilityFragment", "toContactFragment", "toAboutFragment", "toAvisaHomeFragment", "toSubscriptionHomeFragment", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "observation", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, NavArguments.ARG_DYNAMIC_LINKS_FRAGMENT_FROM, "toTrainSituationFragment", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lo0/F;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public static /* synthetic */ F toTrainSituationFragment$default(Companion companion, String str, String str2, String str3, long j4, String str4, String str5, String str6, String str7, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
str = null;
|
||||
}
|
||||
if ((i & 2) != 0) {
|
||||
str2 = null;
|
||||
}
|
||||
if ((i & 4) != 0) {
|
||||
str3 = null;
|
||||
}
|
||||
if ((i & 8) != 0) {
|
||||
j4 = 0;
|
||||
}
|
||||
if ((i & 16) != 0) {
|
||||
str4 = null;
|
||||
}
|
||||
if ((i & 32) != 0) {
|
||||
str5 = "";
|
||||
}
|
||||
if ((i & 64) != 0) {
|
||||
str6 = "";
|
||||
}
|
||||
if ((i & 128) != 0) {
|
||||
str7 = null;
|
||||
}
|
||||
return companion.toTrainSituationFragment(str, str2, str3, j4, str4, str5, str6, str7);
|
||||
}
|
||||
|
||||
public final F toAboutFragment() {
|
||||
return new C0524a(R.id.to_aboutFragment);
|
||||
}
|
||||
|
||||
public final F toAccessibilityFragment() {
|
||||
return new C0524a(R.id.to_accessibilityFragment);
|
||||
}
|
||||
|
||||
public final F toAvisaHomeFragment() {
|
||||
return new C0524a(R.id.to_avisaHomeFragment);
|
||||
}
|
||||
|
||||
public final F toContactFragment() {
|
||||
return new C0524a(R.id.to_contactFragment);
|
||||
}
|
||||
|
||||
public final F toHelpFragment() {
|
||||
return new C0524a(R.id.to_helpFragment);
|
||||
}
|
||||
|
||||
public final F toSubscriptionHomeFragment() {
|
||||
return new C0524a(R.id.to_subscriptionHomeFragment);
|
||||
}
|
||||
|
||||
public final F toTrainSituationFragment(String commercialNumber, String originStationCode, String destinationStationCode, long launchingDate, String observation, String operator, String commercialProduct, String fragmentFrom) {
|
||||
return new b(commercialNumber, originStationCode, destinationStationCode, launchingDate, observation, operator, commercialProduct, fragmentFrom);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private MoreAdifFragmentDirections() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0007\n\u0000\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0002"}, d2 = {"DIVIDER_HEIGHT", "", "ui-more-adif_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifFragmentKt {
|
||||
private static final float DIVIDER_HEIGHT = 0.7f;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.android.components.FragmentComponent;
|
||||
import dagger.hilt.codegen.OriginatingElement;
|
||||
import dagger.hilt.internal.GeneratedEntryPoint;
|
||||
|
||||
@OriginatingElement(topLevelClass = MoreAdifFragment.class)
|
||||
@GeneratedEntryPoint
|
||||
@InstallIn({FragmentComponent.class})
|
||||
/* loaded from: classes2.dex */
|
||||
public interface MoreAdifFragment_GeneratedInjector {
|
||||
void injectMoreAdifFragment(MoreAdifFragment moreAdifFragment);
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import android.net.Uri;
|
||||
import androidx.lifecycle.w0;
|
||||
import b1.InterfaceC0266a;
|
||||
import b1.f;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.ChildDirections;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.DeeplinkRoutes;
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.IntentAction;
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
|
||||
import com.adif.elcanomovil.uiMoreAdif.MoreActions;
|
||||
import com.adif.elcanomovil.uiMoreAdif.MoreItem;
|
||||
import com.adif.elcanomovil.uiMoreAdif.OptionsProvider;
|
||||
import com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragmentDirections;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import dagger.hilt.android.lifecycle.HiltViewModel;
|
||||
import java.util.List;
|
||||
import javax.inject.Inject;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.NoWhenBranchMatchedException;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.scheduling.WorkQueueKt;
|
||||
|
||||
@HiltViewModel
|
||||
@Metadata(d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001B\u0011\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J\u0015\u0010\t\u001a\u00020\b2\u0006\u0010\u0007\u001a\u00020\u0006¢\u0006\u0004\b\t\u0010\nJ5\u0010\u0011\u001a\u00020\b2\b\u0010\f\u001a\u0004\u0018\u00010\u000b2\b\u0010\r\u001a\u0004\u0018\u00010\u000b2\b\u0010\u000e\u001a\u0004\u0018\u00010\u000b2\b\u0010\u0010\u001a\u0004\u0018\u00010\u000f¢\u0006\u0004\b\u0011\u0010\u0012R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u0013R\u001a\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00150\u00148\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0016\u0010\u0017R\u001d\u0010\u0019\u001a\b\u0012\u0004\u0012\u00020\u00150\u00188\u0006¢\u0006\f\n\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\u001cR\u0017\u0010!\u001a\b\u0012\u0004\u0012\u00020\u001e0\u001d8F¢\u0006\u0006\u001a\u0004\b\u001f\u0010 ¨\u0006\""}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifViewModel;", "Landroidx/lifecycle/w0;", "Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;", "provider", "<init>", "(Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;)V", "Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;", "item", "", "optionItemTapped", "(Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;)V", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "checkDestination", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)V", "Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;", "Lb1/f;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "navigationFlow", "Lb1/f;", "Lb1/a;", "navigation", "Lb1/a;", "getNavigation", "()Lb1/a;", "", "Lcom/adif/elcanomovil/uiMoreAdif/MoreItem;", "getItems", "()Ljava/util/List;", FirebaseAnalytics.Param.ITEMS, "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifViewModel extends w0 {
|
||||
private final InterfaceC0266a navigation;
|
||||
private final f navigationFlow;
|
||||
private final OptionsProvider provider;
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes2.dex */
|
||||
public /* synthetic */ class WhenMappings {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[MoreActions.values().length];
|
||||
try {
|
||||
iArr[MoreActions.HELP.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.ACCESSIBILITY.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.CONTACT.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.ABOUT.ordinal()] = 4;
|
||||
} catch (NoSuchFieldError unused4) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.NOTICES.ordinal()] = 5;
|
||||
} catch (NoSuchFieldError unused5) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.TRAIN.ordinal()] = 6;
|
||||
} catch (NoSuchFieldError unused6) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.FAVOURITES.ordinal()] = 7;
|
||||
} catch (NoSuchFieldError unused7) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.SUBSCRIPTIONS.ordinal()] = 8;
|
||||
} catch (NoSuchFieldError unused8) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.LOST_OBJECTS.ordinal()] = 9;
|
||||
} catch (NoSuchFieldError unused9) {
|
||||
}
|
||||
try {
|
||||
iArr[MoreActions.NETWORK_STATUS.ordinal()] = 10;
|
||||
} catch (NoSuchFieldError unused10) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
|
||||
@Inject
|
||||
public MoreAdifViewModel(OptionsProvider provider) {
|
||||
Intrinsics.checkNotNullParameter(provider, "provider");
|
||||
this.provider = provider;
|
||||
f fVar = new f();
|
||||
this.navigationFlow = fVar;
|
||||
this.navigation = fVar;
|
||||
}
|
||||
|
||||
public final void checkDestination(String commercialNumber, String originStationCode, String destinationStationCode, Long launchingDate) {
|
||||
}
|
||||
|
||||
public final List<MoreItem> getItems() {
|
||||
return this.provider.getItems();
|
||||
}
|
||||
|
||||
public final InterfaceC0266a getNavigation() {
|
||||
return this.navigation;
|
||||
}
|
||||
|
||||
public final void optionItemTapped(MoreActions item) {
|
||||
Object direction;
|
||||
Intrinsics.checkNotNullParameter(item, "item");
|
||||
f fVar = this.navigationFlow;
|
||||
switch (WhenMappings.$EnumSwitchMapping$0[item.ordinal()]) {
|
||||
case 1:
|
||||
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toHelpFragment(), null, 2, null);
|
||||
break;
|
||||
case 2:
|
||||
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toAccessibilityFragment(), null, 2, null);
|
||||
break;
|
||||
case 3:
|
||||
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toContactFragment(), null, 2, null);
|
||||
break;
|
||||
case 4:
|
||||
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toAboutFragment(), null, 2, null);
|
||||
break;
|
||||
case 5:
|
||||
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toAvisaHomeFragment(), null, 2, null);
|
||||
break;
|
||||
case 6:
|
||||
direction = new Navigation.Direction(MoreAdifFragmentDirections.Companion.toTrainSituationFragment$default(MoreAdifFragmentDirections.INSTANCE, null, null, null, 0L, null, null, null, NavArguments.ARG_DYNAMIC_MORE_ADIF, WorkQueueKt.MASK, null), null, 2, null);
|
||||
break;
|
||||
case 7:
|
||||
ChildDirections.Companion companion = ChildDirections.INSTANCE;
|
||||
Uri build = Uri.parse(DeeplinkRoutes.favourites).buildUpon().appendQueryParameter(NavArguments.ARG_FOCUS_FAVOURITES, "true").build();
|
||||
Intrinsics.checkNotNullExpressionValue(build, "build(...)");
|
||||
direction = new Navigation.TabDirection(new BottomNavInitialTab.MoreAdif(companion.fromRoutes(build)));
|
||||
break;
|
||||
case 8:
|
||||
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toSubscriptionHomeFragment(), null, 2, null);
|
||||
break;
|
||||
case 9:
|
||||
Uri parse = Uri.parse("https://adif.findmylost.es");
|
||||
Intrinsics.checkNotNullExpressionValue(parse, "parse(...)");
|
||||
direction = new Navigation.Intent(new IntentAction.View(parse));
|
||||
break;
|
||||
case 10:
|
||||
Uri parse2 = Uri.parse("https://www.adif.es/estado-de-la-red");
|
||||
Intrinsics.checkNotNullExpressionValue(parse2, "parse(...)");
|
||||
direction = new Navigation.Intent(new IntentAction.View(parse2));
|
||||
break;
|
||||
default:
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
fVar.b(direction);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import com.adif.elcanomovil.uiMoreAdif.OptionsProvider;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifViewModel_Factory implements Factory<MoreAdifViewModel> {
|
||||
private final Provider<OptionsProvider> providerProvider;
|
||||
|
||||
public MoreAdifViewModel_Factory(Provider<OptionsProvider> provider) {
|
||||
this.providerProvider = provider;
|
||||
}
|
||||
|
||||
public static MoreAdifViewModel_Factory create(Provider<OptionsProvider> provider) {
|
||||
return new MoreAdifViewModel_Factory(provider);
|
||||
}
|
||||
|
||||
public static MoreAdifViewModel newInstance(OptionsProvider optionsProvider) {
|
||||
return new MoreAdifViewModel(optionsProvider);
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public MoreAdifViewModel get() {
|
||||
return newInstance(this.providerProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import androidx.lifecycle.w0;
|
||||
import dagger.Binds;
|
||||
import dagger.Module;
|
||||
import dagger.Provides;
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.android.components.ActivityRetainedComponent;
|
||||
import dagger.hilt.android.components.ViewModelComponent;
|
||||
import dagger.hilt.android.internal.lifecycle.HiltViewModelMap;
|
||||
import dagger.hilt.codegen.OriginatingElement;
|
||||
import dagger.multibindings.IntoMap;
|
||||
import dagger.multibindings.IntoSet;
|
||||
import dagger.multibindings.StringKey;
|
||||
|
||||
@OriginatingElement(topLevelClass = MoreAdifViewModel.class)
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifViewModel_HiltModules {
|
||||
|
||||
@Module
|
||||
@InstallIn({ViewModelComponent.class})
|
||||
/* loaded from: classes2.dex */
|
||||
public static abstract class BindsModule {
|
||||
private BindsModule() {
|
||||
}
|
||||
|
||||
@Binds
|
||||
@StringKey("com.adif.elcanomovil.uiMoreAdif.main.MoreAdifViewModel")
|
||||
@HiltViewModelMap
|
||||
@IntoMap
|
||||
public abstract w0 binds(MoreAdifViewModel moreAdifViewModel);
|
||||
}
|
||||
|
||||
@Module
|
||||
@InstallIn({ActivityRetainedComponent.class})
|
||||
/* loaded from: classes2.dex */
|
||||
public static final class KeyModule {
|
||||
private KeyModule() {
|
||||
}
|
||||
|
||||
@Provides
|
||||
@HiltViewModelMap.KeySet
|
||||
@IntoSet
|
||||
public static String provide() {
|
||||
return "com.adif.elcanomovil.uiMoreAdif.main.MoreAdifViewModel";
|
||||
}
|
||||
}
|
||||
|
||||
private MoreAdifViewModel_HiltModules() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import com.adif.elcanomovil.uiMoreAdif.main.MoreAdifViewModel_HiltModules;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet"})
|
||||
/* loaded from: classes2.dex */
|
||||
public final class MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory implements Factory<String> {
|
||||
public static MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory create() {
|
||||
return c.f5178a;
|
||||
}
|
||||
|
||||
public static String provide() {
|
||||
return (String) Preconditions.checkNotNullFromProvides(MoreAdifViewModel_HiltModules.KeyModule.provide());
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public String get() {
|
||||
return provide();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import androidx.recyclerview.widget.I0;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public final class a extends I0 {
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
import android.os.Bundle;
|
||||
import com.adif.elcanomovil.commonNavGraph.R;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import o0.F;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public final class b implements F {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final String f5171a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final String f5172b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final String f5173c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final long f5174d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final String f5175e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final String f5176f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final String f5177g;
|
||||
public final String h;
|
||||
public final int i = R.id.to_trainSituationFragment;
|
||||
|
||||
public b(String str, String str2, String str3, long j4, String str4, String str5, String str6, String str7) {
|
||||
this.f5171a = str;
|
||||
this.f5172b = str2;
|
||||
this.f5173c = str3;
|
||||
this.f5174d = j4;
|
||||
this.f5175e = str4;
|
||||
this.f5176f = str5;
|
||||
this.f5177g = str6;
|
||||
this.h = str7;
|
||||
}
|
||||
|
||||
public final boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof b)) {
|
||||
return false;
|
||||
}
|
||||
b bVar = (b) obj;
|
||||
return Intrinsics.areEqual(this.f5171a, bVar.f5171a) && Intrinsics.areEqual(this.f5172b, bVar.f5172b) && Intrinsics.areEqual(this.f5173c, bVar.f5173c) && this.f5174d == bVar.f5174d && Intrinsics.areEqual(this.f5175e, bVar.f5175e) && Intrinsics.areEqual(this.f5176f, bVar.f5176f) && Intrinsics.areEqual(this.f5177g, bVar.f5177g) && Intrinsics.areEqual(this.h, bVar.h);
|
||||
}
|
||||
|
||||
@Override // o0.F
|
||||
public final int getActionId() {
|
||||
return this.i;
|
||||
}
|
||||
|
||||
@Override // o0.F
|
||||
public final Bundle getArguments() {
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, this.f5171a);
|
||||
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, this.f5172b);
|
||||
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, this.f5173c);
|
||||
bundle.putLong(NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, this.f5174d);
|
||||
bundle.putString("observation", this.f5175e);
|
||||
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, this.f5176f);
|
||||
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, this.f5177g);
|
||||
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_FRAGMENT_FROM, this.h);
|
||||
return bundle;
|
||||
}
|
||||
|
||||
public final int hashCode() {
|
||||
String str = this.f5171a;
|
||||
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
|
||||
String str2 = this.f5172b;
|
||||
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
|
||||
String str3 = this.f5173c;
|
||||
int b4 = com.google.android.gms.measurement.internal.a.b(this.f5174d, (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31, 31);
|
||||
String str4 = this.f5175e;
|
||||
int hashCode3 = (b4 + (str4 == null ? 0 : str4.hashCode())) * 31;
|
||||
String str5 = this.f5176f;
|
||||
int hashCode4 = (hashCode3 + (str5 == null ? 0 : str5.hashCode())) * 31;
|
||||
String str6 = this.f5177g;
|
||||
int hashCode5 = (hashCode4 + (str6 == null ? 0 : str6.hashCode())) * 31;
|
||||
String str7 = this.h;
|
||||
return hashCode5 + (str7 != null ? str7.hashCode() : 0);
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder("ToTrainSituationFragment(commercialNumber=");
|
||||
sb.append(this.f5171a);
|
||||
sb.append(", originStationCode=");
|
||||
sb.append(this.f5172b);
|
||||
sb.append(", destinationStationCode=");
|
||||
sb.append(this.f5173c);
|
||||
sb.append(", launchingDate=");
|
||||
sb.append(this.f5174d);
|
||||
sb.append(", observation=");
|
||||
sb.append(this.f5175e);
|
||||
sb.append(", operator=");
|
||||
sb.append(this.f5176f);
|
||||
sb.append(", commercialProduct=");
|
||||
sb.append(this.f5177g);
|
||||
sb.append(", fragmentFrom=");
|
||||
return com.google.android.gms.measurement.internal.a.n(sb, this.h, ')');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.adif.elcanomovil.uiMoreAdif.main;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public abstract class c {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory f5178a = new MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory();
|
||||
}
|
||||
Reference in New Issue
Block a user