use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class MainActivity 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 OwnerInfoFragment 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 OwnerInfoFragment method onManagementFeeClicked.
@OnClick(R.id.group_management_fee)
public void onManagementFeeClicked() {
if (details != null && details.getProgramDetails() != null && getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.management_fee), getString(R.string.management_fee_info), false, null);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class ProgramInfoFragment method onManagementFeeClicked.
@OnClick(R.id.group_management_fee)
public void onManagementFeeClicked() {
if (details != null && details.getProgramDetails() != null && getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.management_fee), getString(R.string.management_fee_info), false, null);
}
}
use of vision.genesis.clientapp.feature.main.message.MessageBottomSheetDialog in project android-client by GenesisVision.
the class ProgramInfoFragment method onReinvestProfitTooltipClicked.
@OnClick(R.id.tooltip_reinvest)
public void onReinvestProfitTooltipClicked() {
if (getActivity() != null) {
MessageBottomSheetDialog dialog = new MessageBottomSheetDialog();
dialog.show(getActivity().getSupportFragmentManager(), dialog.getTag());
dialog.setData(R.drawable.icon_info, getString(R.string.reinvest_profit), getString(R.string.tooltip_reinvest_profit_info), false, null);
}
}
Aggregations