How can I get the text with the button pressed? (Android)
I can get the text from the button:
String buttonText = button.getText();
I can get the id with the button pressed:
int buttinID = view.getId();
At this moment, I canโt find out how to get the text of the pressed button.
public void onClick(View view) {
android
J. Maes Apr 11 '11 at 11:45 2011-04-11 11:45
source share