Skip to content

Instantly share code, notes, and snippets.

@ramonrabello
Created September 16, 2019 05:33
Show Gist options
  • Save ramonrabello/0f5c62bc36a71a0367224965b5176551 to your computer and use it in GitHub Desktop.
Save ramonrabello/0f5c62bc36a71a0367224965b5176551 to your computer and use it in GitHub Desktop.
View Binding using ButterKnife
// declaring views
@BindView(R.id.description) TextView description;
@BindView(R.id.signInButton) Button signInButton;
@BindView(R.id.cancelButton) Button cancelButton;
// onCreate()
ButterKnife.bind(this)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment