button - Perform Click ImageView Android -


for ordinary button can this:

mybutton.performclick();

and system understands, button clicked.

now have imageview. what's alternative of function imageviews?

thanks

you can still assign onclicklistener image view, since listener assignment method view based method. once listener added imageview, may call onclick(imageview) method in listener when ever. besides that, imageview has access performclick method buttonview does. can use same code across views long have listener.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -