コード例 #1
0
ファイル: FastGridCellCache.cs プロジェクト: MIliev11/Samples
 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;
         }
     }
 }
コード例 #2
0
ファイル: FastGridCellCache.cs プロジェクト: MIliev11/Samples
 public bool IsCached(Android.Views.View view)
 {
     return(CellItemsByCoreCells.ContainsKey(view));
 }
コード例 #3
0
 public bool IsCached(NativeCell view)
 {
     return(CellItemsByCoreCells.ContainsKey(view));
 }