SegmentedButton icon indicating copy to clipboard operation
SegmentedButton copied to clipboard

Is it possible to change the text programmatically

Open BenjaminChrist84 opened this issue 7 years ago • 8 comments

Nice work,

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.

BenjaminChrist84 avatar Nov 15 '17 13:11 BenjaminChrist84

@BenjaminChrist84 , I also faced this problem. Did you solve it?

RustamIbragimov avatar Dec 26 '17 17:12 RustamIbragimov

@RustamIbragimov

Hey,

I didn't solved the problem with the current version. I used the older version SegmentedButton:v1.2.2.

BenjaminChrist84 avatar Jan 01 '18 13:01 BenjaminChrist84

Same question, it should allow to set text dynamically on SegmentedButton in latest version of library.

hardikJoshi123 avatar Apr 22 '18 18:04 hardikJoshi123

@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 ?

priyanka9879 avatar May 08 '18 05:05 priyanka9879

@priyanka9879 Hi, I'm sorry but i can't help you with this. I only needed to change the text programatically.

BenjaminChrist84 avatar May 08 '18 14:05 BenjaminChrist84

BenjaminChrist84 its okay

priyanka9879 avatar May 08 '18 14:05 priyanka9879

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?

Kaushl avatar Mar 21 '19 05:03 Kaushl

Any updates in this question ?

sebastianor avatar Jul 17 '19 12:07 sebastianor