【发布时间】:2011-09-17 12:35:45
【问题描述】:
我发现我正在使用已弃用的方法进行通知 (notification.setLatestEventInfo())
它说要使用 Notification.Builder。
- 如何使用它?
当我尝试创建一个新实例时,它告诉我:
Notification.Builder cannot be resolved to a type
【问题讨论】:
-
我注意到this 在 API 级别 11 (Android 3.0) 上工作。
标签: android api notifications deprecated