How to define function in a string in Android?
Posted
by androidNoob
on Stack Overflow
See other posts from Stack Overflow
or by androidNoob
Published on 2010-04-29T01:54:29Z
Indexed on
2010/04/29
1:57 UTC
Read the original article
Hit count: 339
I have an event handler that I want to be connected to a button through xml.
Basically, I want to define it as a string in my xml file, then use the property inspector to select the name of the handler for my button (the "on Click" property).
How do I define a call to the function in the string?
© Stack Overflow or respective owner