Topener / nl.fokkezb.pullToRefresh

Widget to implement a table pull-to-refresh header in Titanium Alloy
184 stars 60 forks source link

Adds support for templates required in views. #45

Closed DwainsWorld closed 9 years ago

DwainsWorld commented 9 years ago

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 :)

FokkeZB commented 9 years ago

Thank you @Dwa1n !