public boolean remove ( Toast toast ) { boolean removed = toasts . removeValue ( toast , true ) ; if ( removed ) { toast . getMainTable ( ) . remove ( ) ; Timer . Task timerTask = timersTasks . remove ( toast ) ; if ( timerTask != null ) timerTask . cancel ( ) ; updateToastsPositions ( ) ; } return removed ; }
Removes toast from screen .