solution:
ParseQueryquery = ParseQuery.getQuery(Detail.class);if (formPin) { query.fromPin(FriendList);} else { ParseQuery q = ParseUser.getCurrentUser().getRelation(Consts.friends).getQuery(); query.whereMatchesQuery(Consts.Owner, q);} return query;
沒有留言:
張貼留言