package ඓ.ඓ.K.ʬ;

import android.content.Intent;
import android.view.View;
import com.indiaholacash.holacash.R;
import com.mexico.inloancash.activity.IndiaWebViewActivity;
import com.mexico.inloancash.bean.India_Billing_ListBean;
import java.text.SimpleDateFormat;
import ඓ.ʬ.K.K.K.AbstractC0612;
import ඓ.ʬ.K.K.K.C0622;
import ඓ.ඓ.K.䁗.C0733;
import ῲ.ᨨ.㳳.C1841;

/* renamed from: ඓ.ඓ.K.ʬ.K  reason: contains not printable characters */
/* compiled from: IndiaBillAccountAdapter */
public class C0627 extends AbstractC0612<India_Billing_ListBean.DataBean, C0622> {

    /* renamed from: ⶍ  reason: contains not printable characters */
    public SimpleDateFormat f3623 = new SimpleDateFormat("dd/MM/yyyy");

    /* renamed from: ඓ.ඓ.K.ʬ.K$K  reason: contains not printable characters */
    /* compiled from: IndiaBillAccountAdapter */
    public class View$OnClickListenerC0628 implements View.OnClickListener {

        /* renamed from: ῲ  reason: contains not printable characters */
        public final /* synthetic */ India_Billing_ListBean.DataBean f3625;

        public View$OnClickListenerC0628(India_Billing_ListBean.DataBean dataBean) {
            this.f3625 = dataBean;
        }

        public void onClick(View view) {
            Intent intent = new Intent(C0627.this.f3610, IndiaWebViewActivity.class);
            intent.putExtra("web", C1841.m4788("payweb", ""));
            intent.putExtra("type", 2);
            intent.putExtra("orderno", this.f3625.getOrderno());
            C0627.this.f3610.startActivity(intent);
        }
    }

    public C0627() {
        super(R.layout.india_activity_auth_view_layout_item);
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m2088(C0622 r8, India_Billing_ListBean.DataBean dataBean) {
        try {
            r8.m2077(R.id.refund_amount, this.f3610.getResources().getString(R.string.money_symbol) + C0733.m2153(dataBean.getPay_amount()));
            r8.m2077(R.id.loan_money, this.f3610.getResources().getString(R.string.money_symbol) + C0733.m2153(dataBean.getPay_amount()));
            r8.m2077(R.id.loan_day, String.valueOf(dataBean.getDays()) + this.f3610.getResources().getString(R.string.days));
            r8.m2077(R.id.app_name, this.f3610.getResources().getString(R.string.app_name));
            if (dataBean.getStatus() == 2) {
                r8.m2076(R.id.pay_money_button).setVisibility(8);
            } else if (dataBean.getStatus() == 6) {
                r8.m2076(R.id.pay_money_button).setVisibility(8);
            } else if (dataBean.getStatus() == 5) {
                r8.m2076(R.id.pay_money_button).setVisibility(0);
            } else {
                r8.m2076(R.id.pay_money_button).setVisibility(0);
            }
            SimpleDateFormat simpleDateFormat = this.f3623;
            r8.m2077(R.id.review_date, simpleDateFormat.format(Long.valueOf(dataBean.getAddtime() + "000")));
            if (dataBean.getDelay_time() > 0) {
                SimpleDateFormat simpleDateFormat2 = this.f3623;
                r8.m2077(R.id.reply_date, simpleDateFormat2.format(Long.valueOf(dataBean.getDelay_time() + "000")));
            } else if (dataBean.getDelay_time() == 0 && dataBean.getDeadline() == 0) {
                r8.m2076(R.id.time_relative).setVisibility(8);
            } else {
                SimpleDateFormat simpleDateFormat3 = this.f3623;
                r8.m2077(R.id.reply_date, simpleDateFormat3.format(Long.valueOf(dataBean.getDeadline() + "000")));
            }
            r8.m2076(R.id.pay_money_button).setOnClickListener(new View$OnClickListenerC0628(dataBean));
        } catch (Exception unused) {
        }
    }
}
