recycleadapter/src/main/java/com/kevadiyakrunalk/recycleadapter/composedadapter/ComposedAdapter.java
public boolean removeAdapter(@NonNull ComposedChildAdapterTag tag) {
        final int segment = mAdaptersSet.getAdapterSegment(tag);

        if (segment < 0) {
            return false;
        }

        mAdaptersSet.removeAdapter(tag);
        mSegmentedPositionTranslator.invalidateSegment(segment);

        // NOTE: Need to assume as data set change here because view types and item IDs are completely changed!
        notifyDataSetChanged();

        return true;
    }
/**
     * Remove a child adapter.
     *
     * @param tag The tag object linked to a child adapter to be removed
     * @return True if the child adapter is removed. Otherwise false.
     */
Remove a child adapter.
@param tag The tag object linked to a child adapter to be removed
@return True if the child adapter is removed. Otherwise false.
Remove a child adapter . @param tag The tag object linked to a child adapter to be removed @return True if the child adapter is removed . Otherwise false .
public boolean removeAdapter(@NonNull ComposedChildAdapterTag tag) {
        final int segment = mAdaptersSet.getAdapterSegment(tag);
        if (segment < 0) {
            return false;
        }
        mAdaptersSet.removeAdapter(tag);
        mSegmentedPositionTranslator.invalidateSegment(segment);
        notifyDataSetChanged();
        return true;
    }
public boolean removeAdapter ( @ NonNull ComposedChildAdapterTag tag ) { final int segment = mAdaptersSet . getAdapterSegment ( tag ) ; if ( segment < 0 ) { return false ; } mAdaptersSet . removeAdapter ( tag ) ; mSegmentedPositionTranslator . invalidateSegment ( segment ) ; notifyDataSetChanged ( ) ; return true ; }
Remove a child adapter.
Remove a child adapter .
// NOTE: Need to assume as data set change here because view types and item IDs are completely changed!