ebanx / swipe-button

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

get text method for swipe button not declared #65

Open 32attiya opened 4 years ago

32attiya commented 4 years ago

getText method is missing , there is need for it when doing somethin and wanna get save the text

nidhinprathap commented 4 years ago

Why do u need the GetText method? You are passing the text value to the button, so u already know whats the text that's been shown.

32attiya commented 4 years ago

Im using this slide button as shoft endicator. "Start shift" and "end shift" so i need to save text or state of slide when moving to another activity

nidhinprathap commented 4 years ago

You can use isActive() method to check if its complete or not

32attiya commented 4 years ago

I actually tried this one but its not completely working with isActive() I tried more things… I think if you can help me and add getText for the inside text gonna be helping By the way nice work it’s the best swipe button that I found jsut add getText Please!!

32attiya commented 4 years ago

never mind i got it

nidhinprathap commented 4 years ago

I'm not the maintainer of this repo. All i can give u an option or u modify the library to get the required data.