public int getSectionItemViewType(final int position) {
        final int viewType = getItemViewType(position);

        return getSectionItemViewTypeForAdapterViewType(viewType);
    }
Returns the Section ViewType of an item based on the position in the adapter.

@param position position in the adapter
@return one of the view types:
<ul>
<li>SectionedRecyclerViewAdapter.VIEW_TYPE_HEADER</li>
<li>SectionedRecyclerViewAdapter.VIEW_TYPE_FOOTER</li>
<li>SectionedRecyclerViewAdapter.VIEW_TYPE_ITEM_LOADED</li>
<li>SectionedRecyclerViewAdapter.VIEW_TYPE_LOADING</li>
<li>SectionedRecyclerViewAdapter.VIEW_TYPE_FAILED</li>
<li>SectionedRecyclerViewAdapter.VIEW_TYPE_EMPTY</li>
</ul>
library/src/main/java/io/github/luizgrp/sectionedrecyclerviewadapter/SectionedRecyclerViewAdapter.java