package ඓ.ඓ.K.㴹;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.TextView;
import com.indiaholacash.holacash.R;
import com.mexico.inloancash.ui.WheelView;
import java.util.List;
import ඓ.ඓ.K.㳳.AbstractC0672;

/* renamed from: ඓ.ඓ.K.㴹.ⁱ  reason: contains not printable characters */
/* compiled from: mIndiaChooseDialog */
public class DialogC0684 extends Dialog {

    /* renamed from: ʬ  reason: contains not printable characters */
    public TextView f3684;

    /* renamed from: ඓ  reason: contains not printable characters */
    public TextView f3685;

    /* renamed from: ᨨ  reason: contains not printable characters */
    public String f3686;

    /* renamed from: ῲ  reason: contains not printable characters */
    public TextView f3687;

    /* renamed from: ⁱ  reason: contains not printable characters */
    public AbstractC0672 f3688;

    /* renamed from: 㴹  reason: contains not printable characters */
    public String f3689;

    /* renamed from: 㸾  reason: contains not printable characters */
    public WheelView f3690;

    /* renamed from: 㿎  reason: contains not printable characters */
    public List<String> f3691;

    /* renamed from: ඓ.ඓ.K.㴹.ⁱ$ῲ  reason: contains not printable characters */
    /* compiled from: mIndiaChooseDialog */
    public class View$OnClickListenerC0685 implements View.OnClickListener {
        public View$OnClickListenerC0685() {
        }

        public void onClick(View view) {
            DialogC0684 r4 = DialogC0684.this;
            r4.f3688.m2099(r4.f3686, r4.f3691.get(r4.f3690.getSelectedItemIndex()));
            DialogC0684.this.dismiss();
        }
    }

    /* renamed from: ඓ.ඓ.K.㴹.ⁱ$K  reason: contains not printable characters */
    /* compiled from: mIndiaChooseDialog */
    public class View$OnClickListenerC0686 implements View.OnClickListener {
        public View$OnClickListenerC0686() {
        }

        public void onClick(View view) {
            DialogC0684.this.dismiss();
        }
    }

    public DialogC0684(Context context, AbstractC0672 k, String str, List<String> list, String str2) {
        super(context, R.style.MyDialog);
        this.f3689 = str;
        this.f3688 = k;
        this.f3686 = str2;
        this.f3691 = list;
    }

    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.india_activity_choose_view_type_layout_dialog);
        Window window = getWindow();
        window.setGravity(80);
        WindowManager.LayoutParams attributes = window.getAttributes();
        attributes.width = -1;
        attributes.height = -2;
        window.setAttributes(attributes);
        setCanceledOnTouchOutside(false);
        this.f3684 = (TextView) findViewById(R.id.cancel);
        this.f3687 = (TextView) findViewById(R.id.sure);
        this.f3690 = (WheelView) findViewById(R.id.wheel);
        this.f3685 = (TextView) findViewById(R.id.title);
        this.f3685.setText(this.f3689);
        List<String> list = this.f3691;
        if (list != null && list.size() > 0) {
            this.f3690.m1627(this.f3691, 0);
        }
        this.f3684.setOnClickListener(new View$OnClickListenerC0686());
        this.f3687.setOnClickListener(new View$OnClickListenerC0685());
    }
}
