Android Studio Login Template Code Example


Example: android studio login page template

EditText username = (EditText)findViewById(R.id.editText1); EditText password = (EditText)findViewById(R.id.editText2);		  public void login(View view){    if(username.getText().toString().equals("admin") && password.getText().toString().equals("admin")){        //correcct password    }else{    //wrong password }

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable