I’m trying to have a UListView with dynamic data using C++.
I have a UUserWidget that has a ListView called QuestListView.
I can get an instance of it with the following code:
UListView* listView = (UListView*)CurrentWidget->GetWidgetFromName("QuestListView");
My EntityWidgetClass has a Canvas Panel that contains two sub UI elements.
TextBlock named QuestName to show the quest’s name,
Progress Bar named QuestProgress to show how far the player is into the quest.
I have read that listView->AddItem takes in a UObject.
How do I map the UObject properties to the UIListView’s EntityWidgetClass?
I’d prefer to not use blueprints if at all possible. From what I have seen, they tend to get really messy.
Thanks,
Marty