Android Question SENDER??

persianpowerman1

Active Member
Licensed User
Longtime User
hey guys...
can someone explain to me ...

what is the real work of SENDER?... and what is its advantage??

and i keep getting an error when i try to debug to understand what it really is?

YO!han
 

derez

Expert
Licensed User
Longtime User
Shortly - you can allocate the same event for several views and use the sender to find which one was clicked, then use its text or tag to do something. Example - a numerical keyboard, all the buttons have the same event and you get the value from the text of the sender.
Read the Beginners Guide and see examples there.
 
Upvote 0

persianpowerman1

Active Member
Licensed User
Longtime User
hey... David... thanx a million... i thought so too... when i went over the examples... but just wanted to know if i were still missing some important point..

but thanx,
appreciate it...

YO!han
 
Upvote 0
Top