use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class SettingsFragment method onTooltipPublicInvestorClicked.
@OnClick(R.id.tooltip_public_investor)
public void onTooltipPublicInvestorClicked() {
if (getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.public_investors_profile), getString(R.string.tooltip_public_investors_profile), false, null);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class OwnerInfoFragment method onVolumeScaleClicked.
@OnClick(R.id.group_volume_scale)
public void onVolumeScaleClicked() {
if (getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.volume_scale).toUpperCase(), getString(R.string.tooltip_volume_scale), false, null);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class OwnerInfoFragment method onInvestScaleClicked.
@OnClick(R.id.group_invest_scale)
public void onInvestScaleClicked() {
if (getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.investment_scale).toUpperCase(), getString(R.string.tooltip_invest_scale), false, null);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class DisableTfaActivity method showMessageDialog.
@Override
public void showMessageDialog(int imageResourceId, String title, String message, boolean mustRead, MessageBottomSheetDialog.OnButtonClickListener listener) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getSupportFragmentManager(), dialog.getTag());
dialog.setData(imageResourceId, title, message, mustRead, listener);
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class SpecificWalletActivity method onWithdrawButtonClicked.
@OnClick(R.id.withdraw)
public void onWithdrawButtonClicked() {
if (model.getCurrency().equals(Currency.BNB.getValue())) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.ic_report_problem_black_24dp, getString(R.string.warning).toUpperCase(), getString(R.string.bnb_withdraw_warning), getString(R.string.i_understand_it), false, () -> WithdrawWalletActivity.startWith(this, model));
} else {
WithdrawWalletActivity.startWith(this, model);
}
}
Aggregations