use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class ChangeTradingAccountPasswordActivity 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 ChangePasswordActivity 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 ProgramInfoFragment method onIgnoreSoTooltipClicked.
@OnClick(R.id.tooltip_ignore_so)
public void onIgnoreSoTooltipClicked() {
if (getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.tooltip_ignore_stopout_title), getString(R.string.tooltip_ignore_stopout_info), false, null);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class ProgramInfoFragment method onGenesisRatioClicked.
@OnClick(R.id.group_genesis_ratio)
public void onGenesisRatioClicked() {
if (getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.genesis_ratio).toUpperCase(), getString(R.string.tooltip_genesis_ratio), false, null);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class ProgramTradesFragment method onDelayTooltipClicked.
@OnClick(R.id.delay_tooltip)
public void onDelayTooltipClicked() {
if (getActivity() != null && tradesDelay != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.trades_delay).toUpperCase(), String.format(Locale.getDefault(), getString(R.string.template_manager_trades_delay), StringFormatUtil.getTradesDelayString(tradesDelay)), false, null);
}
}
Aggregations