A AymanA Active Member Licensed User Jun 28, 2019 #1 Hi All/@DonManfred For the switch button library I couldn't find the setText method in version 2.1, I am not sure if I am doing something wrong, but I have tried to add it to the example in uploaded. https://www.b4x.com/android/forum/threads/switchbutton.65334/ Seems I am not the only one that didn't find it: https://www.b4x.com/android/forum/threads/switchbutton.65334/page-2#post-635004 Thank you for your help with this!
Hi All/@DonManfred For the switch button library I couldn't find the setText method in version 2.1, I am not sure if I am doing something wrong, but I have tried to add it to the example in uploaded. https://www.b4x.com/android/forum/threads/switchbutton.65334/ Seems I am not the only one that didn't find it: https://www.b4x.com/android/forum/threads/switchbutton.65334/page-2#post-635004 Thank you for your help with this!
DonManfred Expert Licensed User Longtime User Jun 28, 2019 #2 Yes, it has changed a lot. There is no such method in the github project. There is a settext method but it needs two charsequences. One for on one for off. I´ve implemented it but it seems to make no visual difference. Upvote 0
Yes, it has changed a lot. There is no such method in the github project. There is a settext method but it needs two charsequences. One for on one for off. I´ve implemented it but it seems to make no visual difference.
A AymanA Active Member Licensed User Jun 30, 2019 #3 So you mean it was not included in version 2.1? I have tried to set the value for On and Off but it is not defined so I cannot use the method, I assume I misunderstood what you said. Upvote 0
So you mean it was not included in version 2.1? I have tried to set the value for On and Off but it is not defined so I cannot use the method, I assume I misunderstood what you said.