关于notification的使用,setLatestEventInfo方法在新SDK不能使用的解决方法

今天项目刚好要用到 Notification  。刚开始我是这样写的: Notification notification2 = new Notification(R.mipmap.icon_demo, "通知测试", System.currentTimeMillis()); notification2.setLatestEventInfo(getActivity(),"testTitle","t
相关文章
相关标签/搜索