Description: I used data binding for display text on ExtendedFloatingActionButton , but it didn't update text, then i tried edit text, textview, ... for sure my code didn't wrong. And yes, other view can display data from view model state flow. Data on ExtendedFloatingActionButton just show when I recreated Fragment or Activity
Expected behavior:
Source code:
Code for data binding on ExtendedFloatingActionButton :
Any updated on this? @imhappi
I'm having this exact same bug of not being able to set it programmatically.
An workaround is to setup in the style/xml first and then it's possible to change the value by code.
Description: I used data binding for display text on ExtendedFloatingActionButton , but it didn't update text, then i tried edit text, textview, ... for sure my code didn't wrong. And yes, other view can display data from view model state flow. Data on ExtendedFloatingActionButton just show when I recreated Fragment or Activity
Expected behavior:
Source code:
Code for data binding on ExtendedFloatingActionButton :
Minimal sample app repro:
Android API version: Min is 26 and Max is 33
Material Library version: 1.9.0-alpha01
Device: Poco x3 Pro