导航菜单

页面标题

页面副标题

Pesohere v1.0.5 - ZhaCowHereOneActivity.java 源代码

正在查看: Pesohere v1.0.5 应用的 ZhaCowHereOneActivity.java JAVA 源代码文件

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


package com.cow.here.uicowhereanddto.acowherectivity;

import android.os.Bundle;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.cow.here.netcowherework.dcowhereto.requestcowhere.CowHereZhaTwo;
import com.cow.here.netcowherework.dcowhereto.requestcowhere.ZhaOneCowHere;
import com.cow.here.netcowherework.dcowhereto.responsecowhere.ZhaOneCowHereEntity;
import com.cow.here.netcowherework.dcowhereto.responsecowhere.ZhaTwoCowHereEntity;
import com.cow.here.netcowherework.dcowhereto.responsecowhere.ZhaTwoEntityCowHereOne;
import com.cow.here.netcowherework.dcowhereto.responsecowhere.ZhaTwoEntityCowHereTwo;
import com.cow.here.uicowhereanddto.acowherectivity.ZhaCowHereOneActivity;
import com.pesohere.android.R;
import i.g;
import java.util.LinkedHashMap;
import java.util.Map;

public final class ZhaCowHereOneActivity extends d.b.k.c {
    public final i.f t = g.a(a.b);
    public final i.f u = g.a(c.b);
    public final i.f v = g.a(b.b);
    public final i.f w = g.a(d.b);
    public Map<Integer, View> x;

    public static final class a extends i.u.b.g implements i.u.a.a<ZhaOneCowHere> {
        public static final a b = new a();

        public a() {
            super(0);
        }

        @Override
        public final ZhaOneCowHere a() {
            return new ZhaOneCowHere(f.c.a.c.a("Ag8XPQQYBRY="), f.c.a.c.a("Ag8GPwwAHBY="));
        }
    }

    public static final class b extends i.u.b.g implements i.u.a.a<ZhaOneCowHereEntity> {
        public static final b b = new b();

        public b() {
            super(0);
        }

        @Override
        public final ZhaOneCowHereEntity a() {
            return new ZhaOneCowHereEntity(f.c.a.c.a("CQgBCFcbHhY="), f.c.a.c.a("AwgTBw=="));
        }
    }

    public static final class c extends i.u.b.g implements i.u.a.a<CowHereZhaTwo> {
        public static final c b = new c();

        public c() {
            super(0);
        }

        @Override
        public final CowHereZhaTwo a() {
            return new CowHereZhaTwo(f.c.a.c.a("GRYdPQQYBRY="), f.c.a.c.a("GRYdPwwAHBY="));
        }
    }

    public static final class d extends i.u.b.g implements i.u.a.a<ZhaTwoCowHereEntity> {
        public static final d b = new d();

        public d() {
            super(0);
        }

        @Override
        public final ZhaTwoCowHereEntity a() {
            return new ZhaTwoCowHereEntity(f.c.a.c.a("HQgRCgkAHw=="), f.c.a.c.a("AwAGAgsVHA=="));
        }
    }

    public static final class e extends i.u.b.g implements i.u.a.a<ZhaTwoEntityCowHereOne> {
        public static final e b = new e();

        public e() {
            super(0);
        }

        @Override
        public final ZhaTwoEntityCowHereOne a() {
            return new ZhaTwoEntityCowHereOne(f.c.a.c.a("HQgRCgkAHw=="), f.c.a.c.a("AwAGAgsVHA=="));
        }
    }

    public static final class f extends i.u.b.g implements i.u.a.a<ZhaTwoEntityCowHereTwo> {
        public static final f b = new f();

        public f() {
            super(0);
        }

        @Override
        public final ZhaTwoEntityCowHereTwo a() {
            return new ZhaTwoEntityCowHereTwo(f.c.a.c.a("HQgRCgkAHw=="), f.c.a.c.a("AwAGAgsVHA=="));
        }
    }

    public ZhaCowHereOneActivity() {
        g.a(e.b);
        g.a(f.b);
        this.x = new LinkedHashMap();
    }

    public static final void k0(ZhaCowHereOneActivity zhaCowHereOneActivity, View view) {
        i.u.b.f.f(zhaCowHereOneActivity, f.c.a.c.a("GQkbGEFE"));
        String obj = ((EditText) zhaCowHereOneActivity.f0(f.c.a.a.zha_one_et)).getText().toString();
        switch (obj.hashCode()) {
            case 79430:
                if (obj.equals(f.c.a.c.a("Ig8X"))) {
                    Animation loadAnimation = AnimationUtils.loadAnimation(zhaCowHereOneActivity, R.anim.q);
                    ((Button) zhaCowHereOneActivity.f0(f.c.a.a.zha_one_btn)).setAnimation(loadAnimation);
                    loadAnimation.start();
                    zhaCowHereOneActivity.l0(zhaCowHereOneActivity.g0());
                    break;
                }
                break;
            case 84524:
                if (obj.equals(f.c.a.c.a("ORYd"))) {
                    Animation loadAnimation2 = AnimationUtils.loadAnimation(zhaCowHereOneActivity, R.anim.r);
                    ((Button) zhaCowHereOneActivity.f0(f.c.a.a.zha_one_btn)).setAnimation(loadAnimation2);
                    loadAnimation2.start();
                    zhaCowHereOneActivity.l0(zhaCowHereOneActivity.i0());
                    break;
                }
                break;
            case 2195782:
                if (obj.equals(f.c.a.c.a("Kw4HGQ=="))) {
                    zhaCowHereOneActivity.l0(zhaCowHereOneActivity.j0());
                    break;
                }
                break;
            case 80786814:
                if (obj.equals(f.c.a.c.a("OQkADgA="))) {
                    zhaCowHereOneActivity.l0(zhaCowHereOneActivity.h0());
                    break;
                }
                break;
        }
    }

    public View f0(int i2) {
        Map<Integer, View> map = this.x;
        View view = map.get(Integer.valueOf(i2));
        if (view != null) {
            return view;
        }
        View findViewById = findViewById(i2);
        if (findViewById == null) {
            return null;
        }
        map.put(Integer.valueOf(i2), findViewById);
        return findViewById;
    }

    public final ZhaOneCowHere g0() {
        return (ZhaOneCowHere) this.t.getValue();
    }

    public final ZhaOneCowHereEntity h0() {
        return (ZhaOneCowHereEntity) this.v.getValue();
    }

    public final CowHereZhaTwo i0() {
        return (CowHereZhaTwo) this.u.getValue();
    }

    public final ZhaTwoCowHereEntity j0() {
        return (ZhaTwoCowHereEntity) this.w.getValue();
    }

    public final <T> void l0(T t) {
        if (t instanceof ZhaOneCowHere) {
            Toast.makeText(this, f.c.a.c.a("NwkTJAsR"), 0).show();
        } else {
            Toast.makeText(this, f.c.a.c.a("NwkTPxIb"), 0).show();
        }
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.a2);
        ((Button) f0(f.c.a.a.zha_one_btn)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                ZhaCowHereOneActivity.k0(ZhaCowHereOneActivity.this, view);
            }
        });
    }
}