Code example for Toast

Methods: cancel

0
            mStopToast.cancel();
            mStopToast = null;
        } 
    } 
 
    // lifecycle 
 
    public void onPause() { 
        if (isCustomViewShowing()) { 
            onHideCustomView(); 
        } 
        cancelStopToast(); 
        mActivityPaused = true;
    } 
 
    public void onResume() { 
        mActivityPaused = false;
        // check if we exited without setting active tab 
        // b: 5188145 
        final Tab ct = mTabControl.getCurrentTab();
        if (ct != null) {