// Keep track of the ItemsLayout's property changes
if (_layout != null)
{
- _layout.PropertyChanged += LayoutOnPropertyChanged;
+ _layout.PropertyChanged += LayoutPropertyChanged;
}
// Listen for ScrollTo requests
// Stop listening for layout property changes
if (_layout != null)
{
- _layout.PropertyChanged -= LayoutOnPropertyChanged;
+ _layout.PropertyChanged -= LayoutPropertyChanged;
}
// Stop listening for property changes
}
}
- protected virtual void LayoutOnPropertyChanged(object sender, PropertyChangedEventArgs propertyChanged)
+ protected virtual void LayoutPropertyChanged(object sender, PropertyChangedEventArgs propertyChanged)
{
if (propertyChanged.Is(GridItemsLayout.SpanProperty))
{
}
// Watch for clicks so the user can select the item held by this ViewHolder
- selectable.Clicked += SelectableOnClicked;
+ selectable.Clicked += SelectableClicked;
// Keep track of the view holders here so we can clear the native selection
_currentViewHolders.Add(selectable);
if (holder is SelectableViewHolder selectable)
{
_currentViewHolders.Remove(selectable);
- selectable.Clicked -= SelectableOnClicked;
+ selectable.Clicked -= SelectableClicked;
selectable.IsSelected = false;
}
return false;
}
- void SelectableOnClicked(object sender, int adapterPosition)
+ void SelectableClicked(object sender, int adapterPosition)
{
UpdateFormsSelection(adapterPosition);
}