예제 #1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_login);

    Button loginButton = (Button) findViewById(R.id.login_button);
    loginButton.setOnClickListener(this);
  }
예제 #2
0
 @Override
 protected void onDestroy() {
   loginComponent = null;
   super.onDestroy();
 }