private void onBindContentViewHolder(@NonNull final Section section,
                                         @NonNull final RecyclerView.ViewHolder holder,
                                         final int position,
                                         final List<Object> payloads) {
        switch (section.getState()) {
            case LOADING:
                if (payloads == null) {
                    section.onBindLoadingViewHolder(holder);
                } else {
                    section.onBindLoadingViewHolder(holder, payloads);
                }
                break;
            case LOADED:
                if (payloads == null) {
                    section.onBindItemViewHolder(holder, getPositionInSection(position));
                } else {
                    section.onBindItemViewHolder(holder, getPositionInSection(position), payloads);
                }
                break;
            case FAILED:
                if (payloads == null) {
                    section.onBindFailedViewHolder(holder);
                } else {
                    section.onBindFailedViewHolder(holder, payloads);
                }
                break;
            case EMPTY:
                if (payloads == null) {
                    section.onBindEmptyViewHolder(holder);
                } else {
                    section.onBindEmptyViewHolder(holder, payloads);
                }
                break;
            default:
                throw new IllegalStateException("Invalid state");
        }
    }
Remove all sections from this adapter.
library/src/main/java/io/github/luizgrp/sectionedrecyclerviewadapter/SectionedRecyclerViewAdapter.java