@Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.send_to_this_address_action: {
                if (onSendToAddressClickListener != null) {
                    onSendToAddressClickListener.onClick(view);
                }
                break;
            }
            case R.id.add_custom_token_action: {
                if (onAddCustonTokenClickListener != null) {
                    onAddCustonTokenClickListener.onClick(view);
                }
                break;
            }
            case R.id.watch_account_action: {
                if (onWatchWalletClickListener != null) {
                    onWatchWalletClickListener.onClick(view);
                }
                break;
            }
            case R.id.open_in_etherscan_action: {
                if (onOpenInEtherscanClickListener != null) {
                    onOpenInEtherscanClickListener.onClick(view);
                }
                break;
            }
            case R.id.close_action: {
                if (onCloseActionListener != null) {
                    onCloseActionListener.onClick(view);
                }
                break;
            }
        }
    }
@Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.send_to_this_address_action: {
                if (onSendToAddressClickListener != null) {
                    onSendToAddressClickListener.onClick(view);
                }
                break;
            }
            case R.id.add_custom_token_action: {
                if (onAddCustonTokenClickListener != null) {
                    onAddCustonTokenClickListener.onClick(view);
                }
                break;
            }
            case R.id.watch_account_action: {
                if (onWatchWalletClickListener != null) {
                    onWatchWalletClickListener.onClick(view);
                }
                break;
            }
            case R.id.open_in_etherscan_action: {
                if (onOpenInEtherscanClickListener != null) {
                    onOpenInEtherscanClickListener.onClick(view);
                }
                break;
            }
            case R.id.close_action: {
                if (onCloseActionListener != null) {
                    onCloseActionListener.onClick(view);
                }
                break;
            }
        }
    }
@override public void onclick(view view) { switch (view.getid()) { case r.id.send_to_this_address_action: { if (onsendtoaddressclicklistener != null) { onsendtoaddressclicklistener.onclick(view); } break; } case r.id.add_custom_token_action: { if (onaddcustontokenclicklistener != null) { onaddcustontokenclicklistener.onclick(view); } break; } case r.id.watch_account_action: { if (onwatchwalletclicklistener != null) { onwatchwalletclicklistener.onclick(view); } break; } case r.id.open_in_etherscan_action: { if (onopeninetherscanclicklistener != null) { onopeninetherscanclicklistener.onclick(view); } break; } case r.id.close_action: { if (oncloseactionlistener != null) { oncloseactionlistener.onclick(view); } break; } } }