导航菜单

页面标题

页面副标题

万能钥匙 v1.1.23 - FeedBackAppletActivity.java 源代码

正在查看: 万能钥匙 v1.1.23 应用的 FeedBackAppletActivity.java JAVA 源代码文件

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


package com.finogeeks.lib.applet.modules.feedback;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.finogeeks.lib.applet.R;
import com.finogeeks.lib.applet.main.FinAppEnv;
import com.finogeeks.lib.applet.main.IntentsKt;
import com.finogeeks.lib.applet.modules.ext.s;
import com.finogeeks.lib.applet.page.view.NavigationBar;
import com.finogeeks.lib.applet.utils.OrientationUtil;
import com.finogeeks.lib.applet.utils.ThemeModeUtil;
import java.util.HashMap;
import kotlin.Metadata;
import kotlin.jvm.internal.n;

@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u000f\u0010\u0005\u001a\u00020\u0004H\u0002¢\u0006\u0004\b\u0005\u0010\u0003J\u0019\u0010\b\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0014¢\u0006\u0004\b\b\u0010\tR\u0016\u0010\u000b\u001a\u00020\n8\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u000b\u0010\fR\u0016\u0010\r\u001a\u00020\n8\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\r\u0010\fR\u0016\u0010\u000e\u001a\u00020\n8\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u000e\u0010\fR\u0016\u0010\u0010\u001a\u00020\u000f8\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011¨\u0006\u0012"}, d2 = {"Lcom/finogeeks/lib/applet/modules/feedback/FeedBackAppletActivity;", "Lcom/finogeeks/lib/applet/modules/feedback/FeedBackBaseActivity;", "<init>", "()V", "Llg0/e0;", "initView", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "(Landroid/os/Bundle;)V", "Landroid/view/View;", "ll_function_error", "Landroid/view/View;", "ll_report", "ll_suggestion", "Lcom/finogeeks/lib/applet/page/view/NavigationBar;", "navigationBar", "Lcom/finogeeks/lib/applet/page/view/NavigationBar;", "finapplet_release"}, k = 1, mv = {1, 4, 0})
public final class FeedBackAppletActivity extends FeedBackBaseActivity {
    private NavigationBar d;
    private View e;
    private View f;
    private View g;
    private HashMap h;

    @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0010\u0007\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Landroid/view/View;", "kotlin.jvm.PlatformType", "it", "Llg0/e0;", "onClick", "(Landroid/view/View;)V", "com/finogeeks/lib/applet/modules/ext/ViewKt$clickWithTrigger$1", "<anonymous>"}, k = 3, mv = {1, 4, 0})
    public static final class a implements View.OnClickListener {
        final View a;
        final long b;
        final FeedBackAppletActivity c;
        final String d;

        public static final class RunnableC0209a implements Runnable {
            public RunnableC0209a() {
            }

            @Override
            public final void run() {
                a.this.a.setClickable(true);
            }
        }

        public a(View view, long j, FeedBackAppletActivity feedBackAppletActivity, String str) {
            this.a = view;
            this.b = j;
            this.c = feedBackAppletActivity;
            this.d = str;
        }

        @Override
        public final void onClick(View view) {
            this.a.setClickable(false);
            n.e(view, "it");
            IntentsKt.d(this.c, this.d, "dysfunction");
            this.a.postDelayed(new RunnableC0209a(), this.b);
        }
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0010\u0007\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Landroid/view/View;", "kotlin.jvm.PlatformType", "it", "Llg0/e0;", "onClick", "(Landroid/view/View;)V", "com/finogeeks/lib/applet/modules/ext/ViewKt$clickWithTrigger$1", "<anonymous>"}, k = 3, mv = {1, 4, 0})
    public static final class b implements View.OnClickListener {
        final View a;
        final long b;
        final FeedBackAppletActivity c;
        final String d;

        public static final class a implements Runnable {
            public a() {
            }

            @Override
            public final void run() {
                b.this.a.setClickable(true);
            }
        }

        public b(View view, long j, FeedBackAppletActivity feedBackAppletActivity, String str) {
            this.a = view;
            this.b = j;
            this.c = feedBackAppletActivity;
            this.d = str;
        }

        @Override
        public final void onClick(View view) {
            this.a.setClickable(false);
            n.e(view, "it");
            IntentsKt.a((Context) this.c, this.d, "proSuggestion", (String) null, 4, (Object) null);
            this.a.postDelayed(new a(), this.b);
        }
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0010\u0007\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Landroid/view/View;", "kotlin.jvm.PlatformType", "it", "Llg0/e0;", "onClick", "(Landroid/view/View;)V", "com/finogeeks/lib/applet/modules/ext/ViewKt$clickWithTrigger$1", "<anonymous>"}, k = 3, mv = {1, 4, 0})
    public static final class c implements View.OnClickListener {
        final View a;
        final long b;
        final FeedBackAppletActivity c;
        final String d;

        public static final class a implements Runnable {
            public a() {
            }

            @Override
            public final void run() {
                c.this.a.setClickable(true);
            }
        }

        public c(View view, long j, FeedBackAppletActivity feedBackAppletActivity, String str) {
            this.a = view;
            this.b = j;
            this.c = feedBackAppletActivity;
            this.d = str;
        }

        @Override
        public final void onClick(View view) {
            this.a.setClickable(false);
            n.e(view, "it");
            IntentsKt.d(this.c, this.d, "complaint");
            this.a.postDelayed(new a(), this.b);
        }
    }

    private final void initView() {
        View findViewById = findViewById(R.id.navigationBar);
        n.e(findViewById, "findViewById(R.id.navigationBar)");
        NavigationBar navigationBar = (NavigationBar) findViewById;
        this.d = navigationBar;
        if (navigationBar == null) {
            n.z("navigationBar");
        }
        navigationBar.setTitle(getString(R.string.fin_applet_more_menu_feedback_and_complaint));
        View findViewById2 = findViewById(R.id.ll_function_error);
        n.e(findViewById2, "findViewById(R.id.ll_function_error)");
        this.e = findViewById2;
        View findViewById3 = findViewById(R.id.ll_suggestion);
        n.e(findViewById3, "findViewById(R.id.ll_suggestion)");
        this.f = findViewById3;
        View findViewById4 = findViewById(R.id.ll_report);
        n.e(findViewById4, "findViewById(R.id.ll_report)");
        this.g = findViewById4;
        Intent intent = getIntent();
        n.e(intent, "intent");
        String g = s.g(IntentsKt.getAppId(intent));
        View view = this.e;
        if (view == null) {
            n.z("ll_function_error");
        }
        view.setOnClickListener(new a(view, 500L, this, g));
        View view2 = this.f;
        if (view2 == null) {
            n.z("ll_suggestion");
        }
        view2.setOnClickListener(new b(view2, 500L, this, g));
        View view3 = this.g;
        if (view3 == null) {
            n.z("ll_report");
        }
        view3.setOnClickListener(new c(view3, 500L, this, g));
    }

    @Override
    public void _$_clearFindViewByIdCache() {
        HashMap hashMap = this.h;
        if (hashMap != null) {
            hashMap.clear();
        }
    }

    @Override
    public View _$_findCachedViewById(int i) {
        if (this.h == null) {
            this.h = new HashMap();
        }
        View view = (View) this.h.get(Integer.valueOf(i));
        if (view != null) {
            return view;
        }
        View findViewById = findViewById(i);
        this.h.put(Integer.valueOf(i), findViewById);
        return findViewById;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ThemeModeUtil.configActivityDarkMode$default(this, FinAppEnv.INSTANCE.getFinAppConfig().getUiConfig(), null, 4, null);
        OrientationUtil.INSTANCE.configOrientation(this);
        setContentView(R.layout.fin_applet_activity_feedback_applet);
        initStatusBar();
        initView();
    }
}