UListView - barsandcat/HMS-Sunflower GitHub Wiki
Has siblings:
UListView
UTreeView
UTileView
Actually just a wrapper of SListView
that does all of that in one class
Dynamically constructs widgets as needed during scroll
- Needs a widget class to create
- Use object list source of data - its up to you to do something sensible in your list entry widget with list data
Has selection support
- None
- Singe
- Multiple (including range selection and adding to selection)
Manages list of selected items even between data updates
Handles input:
- Buttons navigation
- Mouse click into list background to clear selection
List entries must implement IUserObjectListEntry
- It has
GetOwningListView
- Has extension point
IsListItemSelectable
and eventsOnItemSelectionChanged
- and it is is used inSObjectTableRow
- which is something new to me
List entries are wrapped up in SObjectTableRow
.
UCommonListView
requires entry to be descendant of UCommonButtonBase
to be able to handle clicks, and has its own wrapper SCommonButtonTableRow