public void OnSetSwipeBackground(Object viewHolder, int position, int type) { var advancedViewHolder = viewHolder as MvxAdvancedRecyclerViewHolder; SwipeBackgroundSet?.Invoke(new MvxSwipeBackgroundSetEventArgs() { ViewHolder = advancedViewHolder, Position = position, Type = type }); }
public void OnSetSwipeBackground(Object viewHolder, int position, int type) { var advancedViewHolder = viewHolder as MvxAdvancedRecyclerViewHolder; var args = new MvxSwipeBackgroundSetEventArgs() { ViewHolder = advancedViewHolder, Position = position, Type = type }; SwipeBackgroundSet?.Invoke(args); SwipeableTemplate?.OnSwipeBackgroundSet(args); }