Money Lover v8.14.0.6版本的 MD5 值为:48b9d922212c7ccfd438cdcc183ff396

以下内容为反编译后的 z.java 源代码,内容仅作参考


package v9;

import android.app.AlertDialog;
import android.content.ActivityNotFoundException;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.Html;
import android.widget.ImageView;
import android.widget.TextView;
import com.bookmark.money.R;

public class z extends n7.k {

    private int f36438c;

    class a implements DialogInterface.OnClickListener {
        a() {
        }

        @Override
        public void onClick(DialogInterface dialogInterface, int i10) {
            yj.a a10 = yj.a.a(z.this.getActivity().getApplicationContext(), z.this.f36438c);
            try {
                new Intent("android.intent.action.VIEW", Uri.parse("market://details?id=" + a10.f39160a)).addFlags(268435456);
                z.this.getActivity().startActivity(new Intent("android.intent.action.VIEW", Uri.parse("market://details?id=" + a10.f39160a)));
            } catch (ActivityNotFoundException unused) {
                z.this.getActivity().startActivity(new Intent("android.intent.action.VIEW", Uri.parse("http://play.google.com/store/apps/details?id=" + a10.f39160a)));
            }
        }
    }

    public static z D(int i10) {
        z zVar = new z();
        zVar.E(i10);
        return zVar;
    }

    public void E(int i10) {
        this.f36438c = i10;
    }

    @Override
    public void onSaveInstanceState(Bundle bundle) {
        bundle.putInt("SAVE_ID_CONTENT_DIALOG", this.f36438c);
        super.onSaveInstanceState(bundle);
    }

    @Override
    protected int v() {
        return R.layout.dialog_install_tool;
    }

    @Override
    public void w(AlertDialog.Builder builder) {
        builder.setPositiveButton(R.string.tools_install_go_to_playstore, new a());
        builder.setNegativeButton(R.string.cancel, (DialogInterface.OnClickListener) null);
    }

    @Override
    public void x() {
        ImageView imageView = (ImageView) u(R.id.icon_goal);
        TextView textView = (TextView) u(R.id.question);
        TextView textView2 = (TextView) u(R.id.message);
        yj.a a10 = yj.a.a(getContext(), this.f36438c);
        imageView.setImageResource(a10.f39162c);
        textView2.setText(Html.fromHtml(a10.f39163d));
        textView.setText(Html.fromHtml(getString(R.string.tools_install_app_message, a10.f39161b)));
    }

    @Override
    public void y(Bundle bundle) {
    }

    @Override
    public void z(Bundle bundle) {
        super.z(bundle);
        this.f36438c = bundle.getInt("SAVE_ID_CONTENT_DIALOG");
    }
}