Code example for ViewGroup

Methods: setVisibility

0
                postInvalidate();
 
                if (!scrolling) {
                    mDrawerMoving = false;
                    mDrawerOpened = false;
                    mDrawerContent.setVisibility(INVISIBLE);
                    if (mDrawerCallbacks != null) {
                        mScrollerHandler.post(new Runnable() {
                            @Override 
                            public void run() { 
                                enableDisableViewGroup(mDecorContent, true);
                                mDrawerCallbacks.onDrawerClosed();
                            } 
                        }); 
                    } 
                } else { 
                    mScrollerHandler.post(this);
                } 
            } 
        };