You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
Is it possible to change the text programmatically #28
but i have a problem. I get my text string from a database and i have to change the string while the app is running. Is it possible to change the text from the button while the app is running?
setText() doesn't work.
Tanks for help.
Reacted by zhou, Royden Rego, RustamIbragimov, Hardik Joshi, Eden90 and TaoLi
Activity
RustamIbragimov commentedon Dec 26, 2017
@BenjaminChrist84 , I also faced this problem. Did you solve it?
BenjaminChrist84 commentedon Jan 1, 2018
@RustamIbragimov
Hey,
I didn't solved the problem with the current version. I used the older version SegmentedButton:v1.2.2.
hardikJoshi123 commentedon Apr 22, 2018
Same question, it should allow to set text dynamically on SegmentedButton in latest version of library.
priyanka9879 commentedon May 8, 2018
@BenjaminChrist84 Hi ,
using this V.1.2.2. I am able to change text pragmatically but not height is not adjustable what to do with that ?
BenjaminChrist84 commentedon May 8, 2018
@priyanka9879 Hi,
I'm sorry but i can't help you with this. I only needed to change the text programatically.
priyanka9879 commentedon May 8, 2018
BenjaminChrist84 its okay
Kaushl commentedon Mar 21, 2019
did we resolve this issue? I am using v2.0.2 and not seeing any way to set text programmatically. How to solve this problem?
sebastianor commentedon Jul 17, 2019
Any updates in this question ?