0

Android 关闭通知后Toast不能运行

monster created at6 years ago view count: 2824
report
回复
0

自定义个队列就行了。 private static void activeQueue() { BooheeToast toast = (BooheeToast) mQueue.peek(); if (toast == null) { mAtomicInteger.decrementAndGet(); return; } mHanlder.post(toast.mShow); mHanlder.postDelayed(toast.mHide, toast.mDuration); mHanlder.postDelayed(mActivite, toast.mDuration); }

6 years ago 回复