by Ŧгє ๓єค
How to use notification as a switch button that will update its message and icon in status bar too?
There are 4 methods:
▶ Button in notification
▶ Call a choice dialog
▶ Click to toggle status v1
▶ Click to toggle status v2
Note that custom status bar icon from notification need Android 6+.
Rate and review within the app in the Community section.