导航菜单

页面标题

页面副标题

Brevistay v5.8.2 - BookingDetailsHolidaFragment$onViewCreated$8$1.java 源代码

正在查看: Brevistay v5.8.2 应用的 BookingDetailsHolidaFragment$onViewCreated$8$1.java JAVA 源代码文件

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


package com.brevistay.app.view.booking.fragments.holida;

import com.brevistay.app.models.booking_model.pre_booking_check.body.preBookingCheckBody;
import com.brevistay.app.viewmodels.booking_viewmodel.BookingViewModel;
import kotlin.Metadata;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;

@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
@DebugMetadata(c = "com.brevistay.app.view.booking.fragments.holida.BookingDetailsHolidaFragment$onViewCreated$8$1", f = "BookingDetailsHolidaFragment.kt", i = {}, l = {511}, m = "invokeSuspend", n = {}, s = {})
final class BookingDetailsHolidaFragment$onViewCreated$8$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
    final preBookingCheckBody $it;
    int label;
    final BookingDetailsHolidaFragment this$0;

    BookingDetailsHolidaFragment$onViewCreated$8$1(BookingDetailsHolidaFragment bookingDetailsHolidaFragment, preBookingCheckBody prebookingcheckbody, Continuation<? super BookingDetailsHolidaFragment$onViewCreated$8$1> continuation) {
        super(2, continuation);
        this.this$0 = bookingDetailsHolidaFragment;
        this.$it = prebookingcheckbody;
    }

    public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
        return new BookingDetailsHolidaFragment$onViewCreated$8$1(this.this$0, this.$it, continuation);
    }

    public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
        return create(coroutineScope, continuation).invokeSuspend(Unit.INSTANCE);
    }

    public final Object invokeSuspend(Object obj) {
        BookingViewModel viewmodel;
        Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
        int i = this.label;
        if (i == 0) {
            ResultKt.throwOnFailure(obj);
            viewmodel = this.this$0.getViewmodel();
            this.label = 1;
            if (viewmodel.getPreBookingCheck(this.this$0.getToken(), this.$it, "https://api.holida.com/app-api/pre_booking_check", (Continuation) this) == coroutine_suspended) {
                return coroutine_suspended;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            ResultKt.throwOnFailure(obj);
        }
        return Unit.INSTANCE;
    }
}