ebanx / swipe-button

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

add some useful function #4

Closed bkhezry closed 7 years ago

bkhezry commented 7 years ago

Hi, thanks for this library. please add some function for changing start state of swipe-button from enabling icon to disabling icon. now it is disabled by default. also change value of button_background, inner_text_background and etc programmatically.

leandroBorgesFerreira commented 7 years ago

Hi bkhezry. Thanks for the hint.

I'll try to do that tomorrow or next week.

ikermart commented 7 years ago

Is it possible to change swipe button text programatically? I can not access to public method, .setText()

leandroBorgesFerreira commented 7 years ago

No Ikermart, not yet. I will implement those requests in the next week.

leandroBorgesFerreira commented 7 years ago

Hi folks. Now it is possible to change the button parameters programmatically. You can also set the initial state of the button as enabled. Now use the 0.5.0 version.

bkhezry commented 7 years ago

Hi @leandroBorgesFerreira, there is a bug in this version. the wrong icon showing when initial state=enabled photo5909127495054108923 photo5909127495054108924

leandroBorgesFerreira commented 7 years ago

@bkhezry Hello, bkhezry. Thanks for you contribution. This bug is fixed now in the version 0.5.1