Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

The Toaster's Constructor function is not right #113

@EasyLiu-Ly

Description

@EasyLiu-Ly

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()); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions