我正在項目中,我們正在顯示每個相冊更新的通知。但是在點擊一個通知後,它會從通知欄中刪除所有通知。 我嘗試下面的代碼: private void handleNotification(NotificationModel notificationModel) {
// display the notification in the notification bar
int i=0;
我寫了下面的方法來檢查的通知是活動的(可見狀態欄上): public static boolean isNotificationActive(Context context, int id) {
Intent intentPopup = new Intent(context, PopupActivity.class);
PendingIntent test = PendingI