Created
June 12, 2019 11:23
-
-
Save tmaxxdd/54895cdde7b4c7a9fdb79440c81d7806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExampleActivity extends Activity { | |
@BindView(R.id.user) EditText username; | |
@BindView(R.id.pass) EditText password; | |
@BindString(R.string.login_error) String loginErrorMessage; | |
@OnClick(R.id.submit) void submit() { | |
// TODO call server... | |
} | |
@Override public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.simple_activity); | |
ButterKnife.bind(this); | |
// TODO Use fields... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment