getSpanSize
Provides a preferred span size for the item
Parameters
spanCount
current span count which may also be IRecyclerItemSpan.INVALID_SPAN_COUNT
position
position of the current item
resources
optionally useful for dynamic size check with different configurations