I have to change FAB state in UtteranceProgressListener callback methods but setImageResource()
does nothing when called after setBackgroundTintColorList()
. However it does change src image when I comment out setBackgroundTintColorList()
.
setBackgroundTintColorList();
setImageResource();
//doesn't work
//setBackgroundTintColorList();
setImageResource();
//Now it works.
What's wrong.