String Location;
TextView DisplayText = (TextView) findViewById(R.id.tester);
if (Resorts == "Cancun, Mexico") {
Location = "You are going to Mexico";
}
DisplayText.setText(Location.toString());
This is my code for the if statement I always struggle when it comes to if statment can someone assist me on what im doing wrong?
Aucun commentaire:
Enregistrer un commentaire