com.yy.androidlib.util.notification.NotificationCenter Maven / Gradle / Ivy
package com.yy.androidlib.util.notification;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* IOS NSNotificationCenter for Android
*/
public enum NotificationCenter {
INSTANCE;
private static final String TAG = "notification";
private Map, Notification> notificationMap;
private long mainThreadId;
private Handler handler;
private Set