Topener / nl.fokkezb.pullToRefresh

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

Nice to have: Example without models/collections but normal payloads #54

Closed nuno closed 8 years ago

nuno commented 8 years ago

Really nice to have a example or sample without models/collections but normal payloads, special with ListView api.

FokkeZB commented 8 years ago

That would be something like:

function myRefresher(e) {
    myCollection.sections[0].setItems([
      { info: text: 'Carrot' },
      { info: text: 'Patata' }
    ]);
}
nuno commented 8 years ago

Sorry my bad, I did a confusion with your great: https://github.com/FokkeZB/nl.fokkezb.infiniteScroll