@Override
    public void refresh(final boolean layoutUpdated) {
        final RecyclerView contentView = getContentView();

        if (contentView == null) {
            return;
        }

        if (contentView.getScrollState() != RecyclerView.SCROLL_STATE_IDLE) {
            // contentView.stopScroll();
        }

        updateRunnable = new Runnable() {
            @Override
            public void run() {
                if (!contentView.isComputingLayout()) {
                    //to prevent notify update when recyclerView is in computingLayout  process
                    mGroupBasicAdapter.notifyUpdate(layoutUpdated);

                    if (mSwipeItemTouchListener != null) {
                        mSwipeItemTouchListener.updateCurrCard();
                    }
                }
            }
        };
        contentView.post(updateRunnable);
    }
@ Override public void refresh ( final boolean layoutUpdated ) { final RecyclerView contentView = getContentView ( ) ; if ( contentView == null ) { return ; } if ( contentView . getScrollState ( ) != RecyclerView . SCROLL_STATE_IDLE ) { } updateRunnable = new Runnable ( ) { @ Override public void run ( ) { if ( ! contentView . isComputingLayout ( ) ) { mGroupBasicAdapter . notifyUpdate ( layoutUpdated ) ; if ( mSwipeItemTouchListener != null ) { mSwipeItemTouchListener . updateCurrCard ( ) ; } } } } ; contentView . post ( updateRunnable ) ; }
{@inheritDoc}