Hi! I have a bit of a problem trying to assign my item source to a SListView/STreeView.
As per the example, it should be something like
SNew(SListView<TSharedPtr<UMyAssetType>>)
.ItemHeight(24)
.ListItemsSource(&MyStruct->MyArray)
.OnGenerateRow(this, &FMyEditor::OnGenerateItemRow)
My data is setup like so.
UPROPERTY(EditDefaultsOnly, Instanced)
TArray<TObjectPtr<UMyAssetType>> MyArray;
this results in a
Cannot convert
TArray<TObjectPtr<UMyAssetType>>*
toTArray<TSharedPtr<UMyAssetType>>*
Has anyone encountered the same issue? What should be the best way to handle such data?
Cheers.