导航菜单

页面标题

页面副标题

BodyTech v7.6.4 - AppointmentDetailsActivity.java 源代码

正在查看: BodyTech v7.6.4 应用的 AppointmentDetailsActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.fitnessmobileapps.fma.feature.book;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.exifinterface.media.ExifInterface;
import androidx.fragment.app.Fragment;
import androidx.navigation.NavArgsLazy;
import androidx.navigation.fragment.NavHostFragment;
import com.fitnessmobileapps.bodytech39559.R;
import com.fitnessmobileapps.fma.feature.common.activity.BmaAppCompatActivity;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;

@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\f\u0010\rJ\u0012\u0010\u0005\u001a\u00020\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0014R\u001b\u0010\u000b\u001a\u00020\u00068BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0007\u0010\b\u001a\u0004\b\t\u0010\n¨\u0006\u000e"}, d2 = {"Lcom/fitnessmobileapps/fma/feature/book/AppointmentDetailsActivity;", "Lcom/fitnessmobileapps/fma/feature/common/activity/BmaAppCompatActivity;", "Landroid/os/Bundle;", "savedInstanceState", "", "onCreate", "Lcom/fitnessmobileapps/fma/feature/book/j;", "d", "Landroidx/navigation/NavArgsLazy;", ExifInterface.GPS_MEASUREMENT_IN_PROGRESS, "()Lcom/fitnessmobileapps/fma/feature/book/j;", "navArgs", "<init>", "()V", "FMA_release"}, k = 1, mv = {1, 8, 0})
public final class AppointmentDetailsActivity extends BmaAppCompatActivity {

    private final NavArgsLazy navArgs = new NavArgsLazy(kotlin.jvm.internal.v.b(AppointmentDetailsActivityArgs.class), new Function0<Bundle>() {
        {
            super(0);
        }

        @Override
        public final Bundle invoke() {
            Bundle bundle;
            Intent intent = this.getIntent();
            if (intent != null) {
                Activity activity = this;
                bundle = intent.getExtras();
                if (bundle == null) {
                    throw new IllegalStateException("Activity " + activity + " has null extras in " + intent);
                }
            } else {
                bundle = null;
            }
            if (bundle != null) {
                return bundle;
            }
            throw new IllegalStateException("Activity " + this + " has a null Intent");
        }
    });

    private final AppointmentDetailsActivityArgs A() {
        return (AppointmentDetailsActivityArgs) this.navArgs.getValue();
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        AppointmentDetailFragmentArgs a10;
        super.onCreate(savedInstanceState);
        setContentView(r2.a.c(getLayoutInflater()).getRoot());
        Fragment findFragmentById = getSupportFragmentManager().findFragmentById(R.id.nav_host_fragment);
        kotlin.jvm.internal.r.g(findFragmentById, "null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment");
        a10 = r2.a((r16 & 1) != 0 ? r2.appointmentVisitId : 0L, (r16 & 2) != 0 ? r2.siteId : 0L, (r16 & 4) != 0 ? r2.region : null, (r16 & 8) != 0 ? r2.scheduleItem : null, (r16 & 16) != 0 ? AppointmentDetailFragmentArgs.INSTANCE.a(A().a()).isModal : true);
        ((NavHostFragment) findFragmentById).getNavController().setGraph(R.navigation.appointment_details_nav, a10.c());
    }
}