protected void finalizeDismiss() {
        if (mActiveDismissCount == 0 && getActiveSwipeCount() == 0) {
            restoreViewPresentations(mDismissedViews);
            notifyCallback(mDismissedPositions);

            mDismissedViews.clear();
            mDismissedPositions.clear();
        }
    }
protected void finalizeDismiss() {
        if (mActiveDismissCount == 0 && getActiveSwipeCount() == 0) {
            restoreViewPresentations(mDismissedViews);
            notifyCallback(mDismissedPositions);

            mDismissedViews.clear();
            mDismissedPositions.clear();
        }
    }
protected void finalizeDismiss ( ) { if ( mActiveDismissCount == 0 && getActiveSwipeCount ( ) == 0 ) { restoreViewPresentations ( mDismissedViews ) ; notifyCallback ( mDismissedPositions ) ; mDismissedViews . clear ( ) ; mDismissedPositions . clear ( ) ; } }
If necessary, notifies the {@link OnDismissCallback} to remove dismissed object from the adapter,
and restores the {@link android.view.View} presentations.
If necessary notifies the {