You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
The Toaster's constructor function is not right,it is should be modified as follows:
// Create a new PriorityQueue when the Toaster class is first initialized private Toaster() { super(Looper.getMainLooper());//set the looper as main looper superToastPriorityQueue = new PriorityQueue<>(10, new SuperToastComparator()); }
The Toaster's constructor function is not right,it is should be modified as follows:
// Create a new PriorityQueue when the Toaster class is first initialized private Toaster() { super(Looper.getMainLooper());//set the looper as main looper superToastPriorityQueue = new PriorityQueue<>(10, new SuperToastComparator()); }