use of butterknife.OnClick in project nmid-headline by miao1007.
the class AboutFragment method about_nexus_img.
@OnClick(R.id.about_nexus_img)
void about_nexus_img() {
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.addCategory(Intent.CATEGORY_BROWSABLE);
intent.setData(Uri.parse(getString(R.string.settings_about_url)));
startActivity(intent);
}
use of butterknife.OnClick in project android-oss by kickstarter.
the class LoginActivity method forgotYourPasswordTextViewClick.
@OnClick(R.id.forgot_your_password_text_view)
public void forgotYourPasswordTextViewClick() {
final Intent intent = new Intent(this, ResetPasswordActivity.class);
startActivityWithTransition(intent, R.anim.slide_in_right, R.anim.fade_out_slide_out_left);
}
use of butterknife.OnClick in project android-oss by kickstarter.
the class DownloadBetaActivity method openDownloadsOnClick.
@OnClick(R.id.open_downloads_button)
public void openDownloadsOnClick(@NonNull final View v) {
final Intent intent = new Intent(DownloadManager.ACTION_VIEW_DOWNLOADS);
startActivity(intent);
}
use of butterknife.OnClick in project android-oss by kickstarter.
the class DiscoveryToolbar method menuButtonClick.
@OnClick({ R.id.menu_button, R.id.filter_text_view })
protected void menuButtonClick() {
final DiscoveryActivity activity = (DiscoveryActivity) getContext();
activity.discoveryLayout().openDrawer(GravityCompat.START);
}
use of butterknife.OnClick in project android-oss by kickstarter.
the class DiscoveryToolbar method searchButtonClick.
@OnClick(R.id.search_button)
public void searchButtonClick(@NonNull final View view) {
final Context context = getContext();
context.startActivity(new Intent(context, SearchActivity.class));
}
Aggregations