如题:
最近在使用Notification的时候发现之前的setLatestEventInfo()过时了看google的API上说让用Builder,尝试了下又发现这个Builder()下的getNotification()也过时了让用build(),好吧继续尝试,但是发现这个build()在最后总是执行失败,之前的各种set看到都成功了,想问下这个build()应该怎么用?
API中的说明:
public Notification build () 
Since: API Level 16 Combine all of the options that have been set and return a new Notification object.