0

Android 关闭通知后Toast不能运行

monster created at5 years ago view count: 2566
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); }

5 years ago 回复

Recent search keywords