@Override public void onClick(View v) { int id = v.getId(); switch (id) { case R.id.setting_account_block: startActivity(new Intent(this, SettingChangePhoneUIActivity.class)); break; case R.id.setting_account_security_block: DialogFactory.showModifyPasswordDialog(null); break; case R.id.setting_exit_block: DialogFactory.showNoTitleConfirmDialog(getString(R.string.setting_about_exit_text), null); break; } }
private void onClickReplyButton() { DialogFactory.showReplyDialog( new Action<String>() { @Override public void onExecute(String arg) { onClickReplyInSubThread(arg); } }); }