core/src/main/java/org/hitogo/core/HitogoController.java
protected void makeAlertVisible(@NonNull final AlertImpl alert, @IntRange(from = 0) final long wait) {
        Handler handler = new Handler();
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                if (alert.getContainer().getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.CREATED) &&
                        (!alert.hasPriority() || alert.getPriority() <= getCurrentHighestPriority(alert.getAlertType()))) {
                    internalMakeVisible(alert);
                }
            }
        }, wait);
    }
/**
     * Initialises the process to make a certain alert visible. <b>Internal use only.</b>
     *
     * @param alert alert that needs to be displayed
     * @param wait  wait in ms that needs to be delayed due to running animations
     * @since 1.0.0
     */
Initialises the process to make a certain alert visible. Internal use only.
@param alert alert that needs to be displayed
@param wait  wait in ms that needs to be delayed due to running animations
@since 1.0.0
Initialises the process to make a certain alert visible . Internal use only . @param alert alert that needs to be displayed @param wait wait in ms that needs to be delayed due to running animations @since 1 . 0 . 0
protected void makeAlertVisible(@NonNull final AlertImpl alert, @IntRange(from = 0) final long wait) {
        Handler handler = new Handler();
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                if (alert.getContainer().getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.CREATED) &&
                        (!alert.hasPriority() || alert.getPriority() <= getCurrentHighestPriority(alert.getAlertType()))) {
                    internalMakeVisible(alert);
                }
            }
        }, wait);
    }
protected void makeAlertVisible ( @ NonNull final AlertImpl alert , @ IntRange ( from = 0 ) final long wait ) { Handler handler = new Handler ( ) ; handler . postDelayed ( new Runnable ( ) { @ Override public void run ( ) { if ( alert . getContainer ( ) . getLifecycle ( ) . getCurrentState ( ) . isAtLeast ( Lifecycle . State . CREATED ) && ( ! alert . hasPriority ( ) || alert . getPriority ( ) <= getCurrentHighestPriority ( alert . getAlertType ( ) ) ) ) { internalMakeVisible ( alert ) ; } } } , wait ) ; }
Initialises the process to make a certain alert visible.
Initialises the process to make a certain alert visible .