【问题标题】:Update notification context text using Notification.Builder使用 Notification.Builder 更新通知上下文文本
【发布时间】:2013-02-22 21:40:09
【问题描述】:

我使用“setLatestEventInfo”来更新我的通知上下文文本。但是现在,这种方法已被弃用,文档说我应该使用 Notification.Builder 来执行此操作。我不知道如何使用它来更新我的通知上下文文本或进度。你能帮帮我吗?

我使用 Notification.Builder 创建了通知,但我不知道创建后如何更新。

【问题讨论】:

    标签: android


    【解决方案1】:

    没有答案...所以我自己回答:我可以使用与创建原始通知相同的 Notification.Builder 对象来更新原始通知。似乎工作正常。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多