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

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


package com.zoostudio.moneylover.redeemcredits;

import ak.r1;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListAdapter;
import android.widget.ListView;
import androidx.appcompat.widget.Toolbar;
import bj.b;
import com.bookmark.money.R;
import com.zoostudio.moneylover.redeemcredits.a;
import com.zoostudio.moneylover.views.MLToolbar;
import com.zoostudio.moneylover.views.h;
import h3.o2;
import java.util.Calendar;

public class ActivityRedeemCredits extends r1 implements View.OnClickListener, a.b {
    private o2 K0;

    private com.zoostudio.moneylover.redeemcredits.a f13117k0;

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

        @Override
        public void onClick(View view) {
            ActivityRedeemCredits.this.finish();
        }
    }

    private void h1() {
    }

    private void i1() {
    }

    private void j1() {
        b bVar = new b();
        bVar.g("https://photo2.tinhte.vn/data/attachment-files/2017/07/4090654_CV.jpg");
        bVar.h("Khuyến mãi “cực sung” liên tục trong 1 tuần");
        Calendar calendar = Calendar.getInstance();
        calendar.add(5, 2);
        bVar.f(calendar.getTimeInMillis());
        bVar.e(20);
        this.f13117k0.add(bVar);
        this.f13117k0.notifyDataSetChanged();
    }

    @Override
    protected void R0(Bundle bundle) {
        MLToolbar Q0 = Q0();
        Q0.j(R.drawable.ic_arrow_left, new a());
        h hVar = new h(this);
        Toolbar.g gVar = new Toolbar.g(8388613);
        gVar.setMargins(0, 10, 0, 0);
        Q0.addView(hVar, gVar);
        ListView listView = (ListView) findViewById(R.id.listRedeem);
        View inflate = LayoutInflater.from(this).inflate(R.layout.footer_redeem_credits, (ViewGroup) null);
        listView.addFooterView(inflate);
        listView.setAdapter((ListAdapter) this.f13117k0);
        inflate.findViewById(R.id.btnGetMore).setOnClickListener(this);
        inflate.findViewById(R.id.btnContactUs).setOnClickListener(this);
    }

    @Override
    public void U0() {
        super.U0();
        j1();
    }

    @Override
    protected void V0(Bundle bundle) {
        com.zoostudio.moneylover.redeemcredits.a aVar = new com.zoostudio.moneylover.redeemcredits.a(this);
        this.f13117k0 = aVar;
        aVar.b(this);
    }

    @Override
    protected void W0() {
        o2 c10 = o2.c(getLayoutInflater());
        this.K0 = c10;
        setContentView(c10.getRoot());
    }

    @Override
    public void X(b bVar) {
    }

    @Override
    public void onClick(View view) {
        int id2 = view.getId();
        if (id2 != R.id.btnContactUs) {
            if (id2 == R.id.btnGetMore) {
                i1();
                return;
            }
            return;
        }
        h1();
    }
}