medyo / Fancybuttons

Icons, Borders, Radius ... for Android buttons
1.77k stars 397 forks source link

How to get text on the button #6

Closed norrisboat closed 9 years ago

norrisboat commented 9 years ago

Everything works perfectly but getText() gives an error is there a way around it

squeeish commented 9 years ago

Hi @laylizzlle, how did you solve it?

norrisboat commented 9 years ago

I saved the String in a variable anytime i used setText() on the button and just used that variable anytime a wanted to get the text.U get it? @squeeish

squeeish commented 9 years ago

@laylizzlle thanks, I solved it by setTag and getTag methods instead.

medyo commented 9 years ago

Well actually, we don't serve getter functions. Maybe in coming versions