parse.com - Get objects from Parse and put them in an array in Java? -


i have parseobject class "score" column filled int values. values (using parsequery) must go inside array. problem can't figure out how , docs in website seem give examples , lessons on retrieving object known id (which useless me).

this code:

parsequery<parseobject> query = parsequery.getquery("margherita"); // object      classname     query.setlimit(1000);     query.orderbydescending("createdat");     query.whereexists("punteggiomargherita");     query.findinbackground(new findcallback<parseobject>() {         @override         public void done(list<parseobject> list, com.parse.parseexception e) {             int votitemp;             string[] arryprova = new string[10];             if (e == null) {                 for(int = 0; < arryprova.length; i++) {                     arryprova[i] = list.tostring();                  }                 votitemp = arryprova                  prova.settext(votimargherita);                  log.d("punteggiomargherita", "retrieved " + list.size() + " scores");             } else {                 log.d("punteggiomargherita", "error: " + e.getmessage());             }          }       }); 


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -