LiveData update of BadgeDrawable in ToolBar MenuItem

前端 未结 0 1451
猫巷女王i
猫巷女王i 2021-01-06 21:43

I want to show a badge on a toolbar action. The badge number is updated by a LiveData value.

This is how I attach the badge:

BadgeUtils.at         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题