Update text of notification, not entire notification

后端 未结 3 370
不思量自难忘°
不思量自难忘° 2020-11-28 05:43

Prelude

I\'m trying to add a chronometer on the notification. The chronometer is a service. Every second this line is called (continue Thread is a the \"runni

3条回答
  •  悲&欢浪女
    2020-11-28 06:15

    You need to mark the notification as "only Arert Once"

    Builder#setOnlyAlertOnce(true)
    

提交回复
热议问题