public override int GetSpanSize(int position) { return(_adapter.GetItemViewType(position) == 0 ? 1 : _spanCount); }