mercredi 25 février 2015

How to load a ListView using SQLite in Titanium?

I'm actually using the framework Alloy. I have tried in my model .js this:



var myBooks = Alloy.Collections.books;

Var getData = myBooks.fetch();


However, for setting up the ListView it's required get Array type and to be honest I only know that with the getData variable I got an object of type Backbone.Object and I not figure out how to map it.


Thank you in advance for any help.


Aucun commentaire:

Enregistrer un commentaire