+ 1
Which one is best way or easy to process for get text on button click (public void onClick /.setOnClickListner)??
I have added multiple buttons with text. On button click getting text. But can you tell me which one will be best for processing for application. Public void onClick(View view){ } --- Button1.setOnClickListener(new View.OnClickListener(){} Is both work different or I can any one. Or do you have any best idea for get multiple buttons value in textview.
1 Odpowiedź
0
Make button object array
Then find them by child