android - Sort ParseQuery by boolean field -
i want sort query first if field true or false, , updatedat. how achieve on android parse sdk?
my current code is:
mquery.orderbydescending("draft"); mquery.addascendingorder("updatedat");
but java.lang.illegalargumentexception: unable sort key draft.
try using
mquery.whereequalto("true","draft");
instead of orderbydescending.
Comments
Post a Comment