Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void RoundSettings(View view){
- if (Integer.parseInt(view.getTag().toString()) == 0 && Rounds > 1)
- Rounds-=2;
- else if (Integer.parseInt(view.getTag().toString()) == 0 && Rounds == 1)
- Toast.makeText(this, "Minimum number of rounds is 1", Toast.LENGTH_SHORT).show();
- else Rounds+=2;
- NumberOfRounds.setText(Rounds);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement