core/src/main/java/org/hitogo/core/HitogoController.java
public long closeAll() {
        synchronized (syncLock) {
            long longestClosingAnim = 0;
            internalCloseAll(currentViews.iterator(), longestClosingAnim);
            internalCloseAll(currentDialogs.iterator(), longestClosingAnim);
            internalCloseAll(currentPopups.iterator(), longestClosingAnim);
            internalCloseAll(currentOthers.iterator(), longestClosingAnim);
            return longestClosingAnim;
        }
    }
/**
     * Closes all alerts stored inside this controller.
     *
     * @return Time in ms of the longest closing animation. That value can be used to delay certain
     * action until all alerts have been closed.
     * @since 1.0.0
     */
Closes all alerts stored inside this controller.
@return Time in ms of the longest closing animation. That value can be used to delay certain
action until all alerts have been closed.
Closes all alerts stored inside this controller . @return Time in ms of the longest closing animation . That value can be used to delay certain action until all alerts have been closed .
public long closeAll() {
        synchronized (syncLock) {
            long longestClosingAnim = 0;
            internalCloseAll(currentViews.iterator(), longestClosingAnim);
            internalCloseAll(currentDialogs.iterator(), longestClosingAnim);
            internalCloseAll(currentPopups.iterator(), longestClosingAnim);
            internalCloseAll(currentOthers.iterator(), longestClosingAnim);
            return longestClosingAnim;
        }
    }
public long closeAll ( ) { synchronized ( syncLock ) { long longestClosingAnim = 0 ; internalCloseAll ( currentViews . iterator ( ) , longestClosingAnim ) ; internalCloseAll ( currentDialogs . iterator ( ) , longestClosingAnim ) ; internalCloseAll ( currentPopups . iterator ( ) , longestClosingAnim ) ; internalCloseAll ( currentOthers . iterator ( ) , longestClosingAnim ) ; return longestClosingAnim ; } }
Closes all alerts stored inside this controller.
Closes all alerts stored inside this controller .