/// <summary> /// Gets the spacing between items. Not implemented for ListViewBase. /// </summary> /// <returns>The item spacing.</returns> public override float GetItemSpacing() { return(LayoutBridge.GetSpacing()); }
/// <summary> /// Gets the size of the item. /// </summary> /// <returns>The item size.</returns> protected float GetItemSize() { return((IsHorizontal()) ? itemWidth + LayoutBridge.GetSpacing() : itemHeight + LayoutBridge.GetSpacing()); }
/// <summary> /// Gets the item position bottom. /// </summary> /// <returns>The item position bottom.</returns> /// <param name="index">Index.</param> protected virtual float GetItemPositionBottom(int index) { return(GetItemPosition(index) + GetItemSize() - LayoutBridge.GetSpacing() + LayoutBridge.GetMargin() - GetScrollSize()); }