//TODO: Refactor with if/else
@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;
}
}
}
@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;
}
}
}