ebanx / swipe-button

A button that activates by swipe instead of touch
487 stars 101 forks source link

Can't change Text programmatically #23

Open usmanrana07 opened 7 years ago

usmanrana07 commented 7 years ago

There should be an option to set the text programmatically.

leandroBorgesFerreira commented 7 years ago

@usmanrana07 Did you try to use the setText method?

ghost commented 6 years ago

so, how to change text programmatically? @leandroBorgesFerreira

dafesata commented 6 years ago

there isn't a setText method. is it possible to achieve this??

usmanrana07 commented 6 years ago

i downloaded the code and edited it a bit and i was able to changes text.

ghost commented 6 years ago

@usmanrana07 can you share to us about the code?

nidhinprathap commented 6 years ago

swipeButton.setText is available . you can use tat to change the text of swipe button

dafesata commented 6 years ago

maybe you should upgrade to a recent version of swipeButton, that was my problem. I was using version 0.4.0., I changed it do 0.6.0 and setText method appeared.