Hey Guys,
While I was overriding DataTemplateSelector::SelectTemplate() i noticed that calling item->GetType() will cause a memory heap error after the method returns. Should be easily reproducible. Looks like I'll have to find a workaround for this as
I need to select the template based on the item type.
Cheers.