When item templates are required (another file) in a view the ListView becomes the last element in the args.children array. When item templates are declared inline the only element in the array is the ListView. It's a safe assumption that retrieving the last element of the array will give us the ListView :)
When item templates are required (another file) in a view the ListView becomes the last element in the args.children array. When item templates are declared inline the only element in the array is the ListView. It's a safe assumption that retrieving the last element of the array will give us the ListView :)