BaseVerticalCollectionView.unbindItem

public Action<VisualElement,int> unbindItem;

Description

The method called by this callback receives the VisualElement to unbind, and the index of the element to unbind it from.

Note:: Setting this callback without also setting bindItem might cause unexpected behavior. This is because the default implementation of bindItem expects the default implementation of unbindItem.


Did you find this page useful? Please give it a rating: