正在查看: Brevistay v5.8.2 应用的 ApplyCouponFragment$onViewCreated$1$1.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Brevistay v5.8.2 应用的 ApplyCouponFragment$onViewCreated$1$1.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.brevistay.app.view.booking.fragments;
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 kotlin.jvm.internal.Intrinsics;
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.ApplyCouponFragment$onViewCreated$1$1", f = "ApplyCouponFragment.kt", i = {}, l = {113}, m = "invokeSuspend", n = {}, s = {})
final class ApplyCouponFragment$onViewCreated$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
final preBookingCheckBody $hotelAvailabiltyBody_BD;
int label;
final ApplyCouponFragment this$0;
ApplyCouponFragment$onViewCreated$1$1(preBookingCheckBody prebookingcheckbody, ApplyCouponFragment applyCouponFragment, Continuation<? super ApplyCouponFragment$onViewCreated$1$1> continuation) {
super(2, continuation);
this.$hotelAvailabiltyBody_BD = prebookingcheckbody;
this.this$0 = applyCouponFragment;
}
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
return new ApplyCouponFragment$onViewCreated$1$1(this.$hotelAvailabiltyBody_BD, this.this$0, 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;
String str;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
int i = this.label;
if (i == 0) {
ResultKt.throwOnFailure(obj);
if (this.$hotelAvailabiltyBody_BD != null) {
viewmodel = this.this$0.getViewmodel();
str = this.this$0.token;
if (str == null) {
Intrinsics.throwUninitializedPropertyAccessException("token");
str = null;
}
this.label = 1;
if (viewmodel.getPreBookingCheck(str, this.$hotelAvailabiltyBody_BD, "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;
}
}