use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class OpenPositionsFragment 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);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class ProgramInfoFragment 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 ProgramInfoFragment 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 ForgotPasswordActivity 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 RegistrationActivity 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);
}
Aggregations