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 has been 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 text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 text was updated successfully, but these errors were encountered: