Topener / nl.fokkezb.pullToRefresh

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

Using this with a backbone Collection ? #38

Closed nubu closed 9 years ago

nubu commented 9 years ago

Hey, i really wanna use this widget in my project. Is it possible to assign a "normal" Collection (just available in the view corresponding controller) to the list as a dataprovider?

"normal" i mean not available on the global alloy space or/and created through Alloy.createCollec.... ?

Best, nico

FokkeZB commented 9 years ago

Sure. The widget only manages the pull to refresh action, sending an event when it is triggered, leaving it to you where you get the data from.