parse.com - android: parse object with null values -


i have query retrieves parse objects: tried debug callback function, , found getting correct number of objects of values null. allthough there value called "state" in getting values doing wrong? how values properly?

  final list<kehila> newkehilas = new arraylist<>();     parsequery<parseobject> query = parsequery.getquery("kehila");     query.findinbackground(new findcallback<parseobject>() {          @override         public void done(list<parseobject> list, parseexception e) {             if (e != null) {                 log.e("unite", e.tostring());             } else {                  (parseobject k : list) {                      kehila newkehila = new kehila();                     newkehila.setobjectid(k.getstring("objectid"));                     newkehila.setname(k.getstring("name"));                     newkehila.setcity(k.getstring("city"));                     newkehila.setneighborhood(k.getstring("neighborhood"));                     newkehila.setstreet(k.getstring("street"));                     newkehila.sethousenumber(k.getint("housenumber"));                      newkehilas.add(newkehila);                 }             }          }     });    return newkehilas; 

i think need call save() or saveeventually() on new objects.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -