protected override void Dispose(bool disposing) { if (disposing) { _boxedView = null; } base.Dispose(disposing); }
public BoxedViewRecyclerAdapter(Context context, App.Controls.BoxedView.BoxedView boxedView, RecyclerView recyclerView) { _context = context; _boxedView = boxedView; _recyclerView = recyclerView; _boxedView.ModelChanged += BoxedView_ModelChanged; }
protected override void Dispose(bool disposing) { if (disposing) { _boxedView.ModelChanged -= BoxedView_ModelChanged; _cellCaches?.Clear(); _cellCaches = null; _boxedView = null; _viewTypes = null; foreach (var holder in _viewHolders) { holder.Dispose(); } _viewHolders.Clear(); _viewHolders = null; } base.Dispose(disposing); }
public BoxedViewSimpleCallback(App.Controls.BoxedView.BoxedView boxedView, int dragDirs, int swipeDirs) : base(dragDirs, swipeDirs) { _boxedView = boxedView; }
public FooterViewHolder(AView view, App.Controls.BoxedView.BoxedView boxedView) : base(view) { TextView = view.FindViewById <TextView>(Resource.Id.FooterCellText); }
public HeaderViewHolder(AView view, App.Controls.BoxedView.BoxedView boxedView) : base(view) { TextView = view.FindViewById <TextView>(Resource.Id.HeaderCellText); Border = view.FindViewById <LinearLayout>(Resource.Id.HeaderCellBorder); }