导航菜单

页面标题

页面副标题

klikUMKM v2.0.1 - t.java 源代码

正在查看: klikUMKM v2.0.1 应用的 t.java JAVA 源代码文件

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


package com.yx.credit.indonesia.ui.delegate;

import com.yx.credit.base.entity.NetResponse;
import com.yx.credit.indonesia.http.entity.UserDictionary;
import java.util.Map;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.b0;
import qb.q0;

public final class t extends ub.i implements Function2 {
    final Function0<Unit> $function;
    int label;
    final u this$0;

    public t(u uVar, Function0<Unit> function0, tb.a aVar) {
        super(2, aVar);
        this.this$0 = uVar;
        this.$function = function0;
    }

    @Override
    public final tb.a create(Object obj, tb.a aVar) {
        return new t(this.this$0, this.$function, aVar);
    }

    @Override
    public final Object invokeSuspend(Object obj) {
        kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
        int i10 = this.label;
        if (i10 == 0) {
            pb.r.b(obj);
            this.this$0.f7626b.postValue(Boolean.TRUE);
            com.yx.credit.base.net.g gVar = com.yx.credit.base.net.g.a;
            Map c5 = q0.c();
            this.label = 1;
            obj = gVar.b("https://api.klikumkm.co.id/api/indo/user/infos/map", c5, UserDictionary.class, this);
            if (obj == aVar) {
                return aVar;
            }
        } else {
            if (i10 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            pb.r.b(obj);
        }
        NetResponse netResponse = (NetResponse) obj;
        if (netResponse.isSuccess()) {
            this.this$0.f7624c = (UserDictionary) netResponse.getData();
            this.$function.invoke();
        }
        this.this$0.f7626b.postValue(Boolean.FALSE);
        return Unit.a;
    }

    @Override
    public final Object invoke(b0 b0Var, tb.a aVar) {
        return ((t) create(b0Var, aVar)).invokeSuspend(Unit.a);
    }
}