public override float GetViewHolderMeasurementInOther(FlexibleView.ViewHolder holder) { return(holder.Right - holder.Left); }
internal override void OffsetChild(FlexibleView.ViewHolder holder, int offset) { //holder.offsetLeftAndRight(offset); }
public override float GetViewHolderMeasurement(FlexibleView.ViewHolder holder) { return(holder.Bottom - holder.Top); }
public override float GetViewHolderEnd(FlexibleView.ViewHolder holder) { return(holder.Right); }
public override float GetViewHolderStart(FlexibleView.ViewHolder holder) { return(holder.Left); }
// Offsets the child in this orientation. // // @param view View to offset // @param offset offset amount internal abstract void OffsetChild(FlexibleView.ViewHolder holder, int offset);
/** * Returns the space occupied by this View in the current orientation including decorations and * margins. * * @param view The view element to check * @return Total space occupied by this view * @see #getDecoratedMeasurementInOther(View) */ public abstract float GetViewHolderMeasurement(FlexibleView.ViewHolder holder);
/** * Returns the end of the view including its decoration and margin. * For example, for the horizontal helper, if a View's right is at pixel 200, has 2px right * decoration and 3px right margin, returned value will be 205. * * @param view The view element to check * @return The last pixel of the element * @see #getDecoratedStart(android.view.View) */ public abstract float GetViewHolderEnd(FlexibleView.ViewHolder holder);
/** * Returns the start of the view including its decoration and margin. * For example, for the horizontal helper, if a View's left is at pixel 20, has 2px left * decoration and 3px left margin, returned value will be 15px. * * @param view The view element to check * @return The first pixel of the element * @see #getDecoratedEnd(android.view.View) */ public abstract float GetViewHolderStart(FlexibleView.ViewHolder holder);
internal override void OffsetChild(FlexibleView.ViewHolder holder, int offset) { //holder.offsetTopAndBottom(offset); }