Notification-How to give alternate choice
can anybody tell me how to create a notific开发者_运维知识库ation with toggle type icon.if i click the icon ,it has to toggle between ON/OFF.I seen some of the apps related to it.But if there is any code snippets,its highly appreciated. Thanks, Narayan
You could just call some code to remove the current notification and recreate it with the toggled image on the event you get when a notification is selected.
精彩评论