Skip to content

Instantly share code, notes, and snippets.

@adityaladwa
Created December 29, 2016 09:25
Show Gist options
  • Save adityaladwa/b9eba2efe33742fb7eacef8a67132e58 to your computer and use it in GitHub Desktop.
Save adityaladwa/b9eba2efe33742fb7eacef8a67132e58 to your computer and use it in GitHub Desktop.
public class MainActivity extends AppCompatActivity {
@BindView(R.id.text_hello) TextView textHello;
@BindView(R.id.text_name) TextView textName;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
ButterKnife.bind(this);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment