forum

Home / DeveloperSection / Forums / How to create dynamically image button with click event in android?

How to create dynamically image button with click event in android?

Elena Glibart192707-Nov-2014

I'm new to android and I require to have a list of image buttons in an activity which are created based on the data in a database. I haven't created anything like this in android before and so far I've been using HTML tables to show my data in a grid view. I'm not asking for any special code, I'm just clueless on how to implement this. I wanna know what the best approach is.

One problem I've faced is with the click events(in the way I've been doing them so far) which do not take in any EventArg, so I can't get the name of the button out of them.


Updated on 07-Nov-2014

Can you answer this question?


Answer

1 Answers

Liked By