I am writing an Android Application which outputs some array of buttons dynamically.
My question is how to implement onClickListener() functionality for Array Of Buttons.
I mean how to recognize the button that is clicked in public void onClick() method ?
I need to display a toast based on the button that is clicked.