java - ParseQuery not retrieving all of data rows -
for reason getting first few rows of data query. i'm not sure doing wrong. need objects 1 column named states row row. grabbing first few rows. doing wrong?
parsequery<parseobject> system = parsequery.getquery("statessystem"); // system.fromlocaldatastore(); system.setlimit(30); system.orderbyascending("spinnerstitle"); // system.whereexists("system"); system.findinbackground(new findcallback<parseobject>() { @override public void done(list<parseobject> list, parseexception e) { if (e == null) { int = 0; choicelist = list.get(i).getstring("spinnerstitle"); holder = new arraylist<string>(); (i = 0; < choicelist.length(); i++) { try { choicelist = list.get(i).getstring("spinnerstitle"); holder.add(choicelist); } catch (exception ex) { ex.getmessage(); } } if (!holder.isempty()) { adapter = new arrayadapter<string>(getapplicationcontext(), android.r.layout.simple_list_item_1, holder); choice = (listview) findviewbyid(r.id.lvchoosesystem); adapter.setdropdownviewresource(android.r.layout.simple_list_item_1); choice.setadapter(adapter); } } else { toast.maketext(getapplicationcontext(), "error retrieving system local datastore", toast.length_long).show(); } } });
did check aclpermissions? user have read access rows trying fetch?
Comments
Post a Comment