private void InsertCell(LiquidFloatingCell cell) { var nfloat1 = Frame.Width * CellRadiusRatio; var nfloat2 = (Frame.Width - nfloat1) / 2f; cell.Frame = new CGRect(nfloat2, nfloat2, nfloat1, nfloat1); cell.Color = Color; cell.ActionButton = this; // ISSUE: reference to a compiler-generated method InsertSubviewAbove(cell, _baseView); }
protected internal virtual void OnCellSelected(LiquidFloatingCell target) { var cellSelected = CellSelected; if (cellSelected == null) { return; } var index = Array.IndexOf(CellArray(), target); cellSelected(this, new CellSelectedEventArgs(target, index)); }
public CellSelectedEventArgs(LiquidFloatingCell cell, int index) { Cell = cell; Index = index; }