public void RecycleCell(Android.Views.View view, FastGridCell newCell) { if (CellItemsByCoreCells.ContainsKey(view)) { var reusedItem = CellItemsByCoreCells [view]; if (OriginalBindingContextsForReusedItems.ContainsKey(newCell)) { reusedItem.BindingContext = OriginalBindingContextsForReusedItems [newCell]; } else { reusedItem.BindingContext = newCell.BindingContext; } } }
public bool IsCached(Android.Views.View view) { return(CellItemsByCoreCells.ContainsKey(view)); }
public bool IsCached(NativeCell view) { return(CellItemsByCoreCells.ContainsKey(view)); }