How to get the currently selected widget of a listview

Yeah there’s no “one node” solution for this, but here’s a way:

  1. I presume your widget implements the IUserObjectListEntry interface (otherwise, from what I can tell, it wouldn’t be compatible with the list). If not, it should.
  2. This interface should have one blueprint overridable event: On List Item Object Set. Since not all items in the list have a corresponding widget (only the visible ones do), this event is used to notify the widget when it starts “representing” a new item. Override this event in your widget and use it to store the object.
  3. On your click event, you can now use GetDisplayedEntryWidgets and, for each, check if their stored object (the one you stored in 2.) matches the selected item. If so, set one style; if not, set the other.