core/src/main/java/org/hitogo/core/HitogoController.java
public long closeByTag(@NonNull String tag) {
        synchronized (syncLock) {
            long longestClosingAnim = 0;
            internalCloseByTag(currentViews.iterator(), tag, longestClosingAnim);
            internalCloseByTag(currentDialogs.iterator(), tag, longestClosingAnim);
            internalCloseByTag(currentPopups.iterator(), tag, longestClosingAnim);
            internalCloseByTag(currentOthers.iterator(), tag, longestClosingAnim);
            return longestClosingAnim;
        }
    }
/**
     * Closes all alerts stored inside this controller by the given String.
     *
     * @param tag String which is used as a reference to close the alerts.
     * @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 by the given String.
@param tag String which is used as a reference to close the alerts.
@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 by the given String . @param tag String which is used as a reference to close the alerts . @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 closeByTag(@NonNull String tag) {
        synchronized (syncLock) {
            long longestClosingAnim = 0;
            internalCloseByTag(currentViews.iterator(), tag, longestClosingAnim);
            internalCloseByTag(currentDialogs.iterator(), tag, longestClosingAnim);
            internalCloseByTag(currentPopups.iterator(), tag, longestClosingAnim);
            internalCloseByTag(currentOthers.iterator(), tag, longestClosingAnim);
            return longestClosingAnim;
        }
    }
public long closeByTag ( @ NonNull String tag ) { synchronized ( syncLock ) { long longestClosingAnim = 0 ; internalCloseByTag ( currentViews . iterator ( ) , tag , longestClosingAnim ) ; internalCloseByTag ( currentDialogs . iterator ( ) , tag , longestClosingAnim ) ; internalCloseByTag ( currentPopups . iterator ( ) , tag , longestClosingAnim ) ; internalCloseByTag ( currentOthers . iterator ( ) , tag , longestClosingAnim ) ; return longestClosingAnim ; } }
Closes all alerts stored inside this controller by the given String.
Closes all alerts stored inside this controller by the given String .