得物.apk(点击下载) / MClActivateResultActivity.java


package com.shizhuang.duapp.modules.merchant_cash_loan.ui.activity;

import android.os.Bundle;
import android.os.CountDownTimer;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.knightboost.weaver.api.Scope;
import com.knightboost.weaver.api.annotations.Insert;
import com.knightboost.weaver.api.annotations.TargetClass;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.shizhuang.duapp.R;
import com.shizhuang.duapp.common.ui.BaseLeftBackActivity;
import com.shizhuang.duapp.libs.duimageloaderview.DuImageLoaderView;
import com.shizhuang.duapp.modules.merchant_cash_loan.model.MClActivateResult;
import java.util.HashMap;
import jn.b;
import kotlin.Lazy;
import kotlin.LazyKt__LazyJVMKt;
import kotlin.Metadata;

@Route(path = "/merchantCashLoan/MClActivateResultActivity")
@Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/shizhuang/duapp/modules/merchant_cash_loan/ui/activity/MClActivateResultActivity;", "Lcom/shizhuang/duapp/common/ui/BaseLeftBackActivity;", "<init>", "()V", "du_merchant_cash_loan_release"}, k = 1, mv = {1, 4, 2})
/* compiled from: MClActivateResultActivity.kt */
public final class MClActivateResultActivity extends BaseLeftBackActivity {
    public static ChangeQuickRedirect changeQuickRedirect;

    /* renamed from: c  reason: collision with root package name */
    public boolean f20585c;
    public boolean d = true;
    public MClActivateResult e;
    public final Lazy f = LazyKt__LazyJVMKt.lazy(new MClActivateResultActivity$countDownTimer$2(this));

    /* renamed from: g  reason: collision with root package name */
    public HashMap f20586g;

    public class _boostWeave {
        public static ChangeQuickRedirect changeQuickRedirect;

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.appcompat.app.AppCompatActivity")
        @Insert(mayCreateSuper = true, value = "onCreate")
        @Keep
        public static void ActivityMethodWeaver_onCreate(@Nullable MClActivateResultActivity mClActivateResultActivity, Bundle bundle) {
            if (!PatchProxy.proxy(new Object[]{mClActivateResultActivity, bundle}, null, changeQuickRedirect, true, 233522, new Class[]{MClActivateResultActivity.class, Bundle.class}, Void.TYPE).isSupported) {
                b bVar = b.f34396a;
                if (!bVar.b()) {
                    bVar.d(true);
                }
                long currentTimeMillis = System.currentTimeMillis();
                MClActivateResultActivity.d(mClActivateResultActivity, bundle);
                long currentTimeMillis2 = System.currentTimeMillis();
                if (mClActivateResultActivity.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.merchant_cash_loan.ui.activity.MClActivateResultActivity")) {
                    bVar.activityOnCreateMethod(mClActivateResultActivity, currentTimeMillis, currentTimeMillis2);
                }
            }
        }

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.appcompat.app.AppCompatActivity")
        @Insert(mayCreateSuper = true, value = "onResume")
        @Keep
        public static void ActivityMethodWeaver_onResume(MClActivateResultActivity mClActivateResultActivity) {
            if (!PatchProxy.proxy(new Object[]{mClActivateResultActivity}, null, changeQuickRedirect, true, 233524, new Class[]{MClActivateResultActivity.class}, Void.TYPE).isSupported) {
                long currentTimeMillis = System.currentTimeMillis();
                MClActivateResultActivity.f(mClActivateResultActivity);
                long currentTimeMillis2 = System.currentTimeMillis();
                if (mClActivateResultActivity.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.merchant_cash_loan.ui.activity.MClActivateResultActivity")) {
                    b.f34396a.activityOnResumeMethod(mClActivateResultActivity, currentTimeMillis, currentTimeMillis2);
                }
            }
        }

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.appcompat.app.AppCompatActivity")
        @Insert(mayCreateSuper = true, value = "onStart")
        @Keep
        public static void ActivityMethodWeaver_onStart(MClActivateResultActivity mClActivateResultActivity) {
            if (!PatchProxy.proxy(new Object[]{mClActivateResultActivity}, null, changeQuickRedirect, true, 233523, new Class[]{MClActivateResultActivity.class}, Void.TYPE).isSupported) {
                long currentTimeMillis = System.currentTimeMillis();
                MClActivateResultActivity.e(mClActivateResultActivity);
                long currentTimeMillis2 = System.currentTimeMillis();
                if (mClActivateResultActivity.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.merchant_cash_loan.ui.activity.MClActivateResultActivity")) {
                    b.f34396a.activityOnStartMethod(mClActivateResultActivity, currentTimeMillis, currentTimeMillis2);
                }
            }
        }
    }

    public static void d(MClActivateResultActivity mClActivateResultActivity, Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{bundle}, mClActivateResultActivity, changeQuickRedirect, false, 233517, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
            super.onCreate(bundle);
        }
    }

    public static void e(MClActivateResultActivity mClActivateResultActivity) {
        if (!PatchProxy.proxy(new Object[0], mClActivateResultActivity, changeQuickRedirect, false, 233519, new Class[0], Void.TYPE).isSupported) {
            super.onStart();
        }
    }

    public static void f(MClActivateResultActivity mClActivateResultActivity) {
        if (!PatchProxy.proxy(new Object[0], mClActivateResultActivity, changeQuickRedirect, false, 233521, new Class[0], Void.TYPE).isSupported) {
            super.onResume();
        }
    }

    public View _$_findCachedViewById(int i) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{new Integer(i)}, this, changeQuickRedirect, false, 233514, new Class[]{Integer.TYPE}, View.class);
        if (proxy.isSupported) {
            return (View) proxy.result;
        }
        if (this.f20586g == null) {
            this.f20586g = new HashMap();
        }
        View view = (View) this.f20586g.get(Integer.valueOf(i));
        if (view != null) {
            return view;
        }
        View findViewById = findViewById(i);
        this.f20586g.put(Integer.valueOf(i), findViewById);
        return findViewById;
    }

    public final void g() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233511, new Class[0], Void.TYPE).isSupported) {
            h().cancel();
            this.f20585c = false;
            this.d = true;
        }
    }

    @Override // com.shizhuang.duapp.common.ui.BaseActivity, com.shizhuang.duapp.common.base.inter.IViewController
    public int getLayout() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233500, new Class[0], Integer.TYPE);
        return proxy.isSupported ? ((Integer) proxy.result).intValue() : R.layout.activity_mcl_activate_result;
    }

    public final CountDownTimer h() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233498, new Class[0], CountDownTimer.class);
        return (CountDownTimer) (proxy.isSupported ? proxy.result : this.f.getValue());
    }

    public final void i() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233503, new Class[0], Void.TYPE).isSupported) {
            this.f20585c = true;
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233504, new Class[0], Void.TYPE).isSupported) {
                ((DuImageLoaderView) _$_findCachedViewById(R.id.img)).i("https://cdn.poizon.com/node-common/5abf914d8316761d7556da6384193365.gif").x();
                ((TextView) _$_findCachedViewById(R.id.tv_1)).setText("处理中");
            }
            h().start();
        }
    }

    @Override // com.shizhuang.duapp.common.ui.BaseActivity, com.shizhuang.duapp.common.base.inter.IViewController
    public void initData() {
        boolean z = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233501, new Class[0], Void.TYPE).isSupported;
    }

    @Override // com.shizhuang.duapp.common.ui.BaseLeftBackActivity, com.shizhuang.duapp.common.ui.BaseActivity, com.shizhuang.duapp.common.base.inter.IViewController
    public void initView(@org.jetbrains.annotations.Nullable Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 233502, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
            super.initView(bundle);
            i();
        }
    }

    @Override // androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, com.shizhuang.duapp.common.ui.BaseLeftBackActivity, com.shizhuang.duapp.common.ui.BaseActivity
    public void onCreate(Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 233516, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
            _boostWeave.ActivityMethodWeaver_onCreate(this, bundle);
        }
    }

    @Override // androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, com.shizhuang.duapp.common.ui.BaseActivity
    public void onDestroy() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233513, new Class[0], Void.TYPE).isSupported) {
            super.onDestroy();
            g();
        }
    }

    @Override // com.shizhuang.duapp.common.ui.BaseActivity, com.shizhuang.duapp.common.base.inter.IViewController
    public void onNetErrorRetryClick() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233512, new Class[0], Void.TYPE).isSupported) {
            super.onNetErrorRetryClick();
            i();
        }
    }

    @Override // androidx.fragment.app.FragmentActivity, com.shizhuang.duapp.common.ui.BaseLeftBackActivity, com.shizhuang.duapp.common.ui.BaseActivity
    public void onResume() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233520, new Class[0], Void.TYPE).isSupported) {
            _boostWeave.ActivityMethodWeaver_onResume(this);
        }
    }

    @Override // androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, com.shizhuang.duapp.common.ui.BaseLeftBackActivity, com.shizhuang.duapp.common.ui.BaseActivity
    public void onStart() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 233518, new Class[0], Void.TYPE).isSupported) {
            _boostWeave.ActivityMethodWeaver_onStart(this);
        }
    }
}