开发者

Notification-How to give alternate choice

开发者 https://www.devze.com 2023-03-15 23:00 出处:网络
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 c

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消