Closed ghost closed 2 years ago
Would be really great to databing textRes, Color and progressState to button right into some LiveData form in VIewModel. Can I set those values in xml?
Yes. Like this: @{context.getString(viewState.buttonState.labelResId)}
@{context.getString(viewState.buttonState.labelResId)}
Would be really great to databing textRes, Color and progressState to button right into some LiveData form in VIewModel. Can I set those values in xml?