change button text
public void disable(View v){
v.setEnabled(false);
Button button = (Button) v;
button.setText("Disabled");
}
change button text
public void disable(View v){
v.setEnabled(false);
Button button = (Button) v;
button.setText("Disabled");
}
For further actions, you may consider blocking this person and/or reporting abuse
Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.
Aditya Pratap Bhuyan -
Harsh -
Mercy -
David Nguyen -
Top comments (0)