I'm using the following iOS Parse query:
let predicate = NSPredicate(format: "(fromUserid = %@ OR fromUserid = %@) AND (toUserid = %@ OR toUserid = %@) AND seen = %@", profilePhotoID, friendProfilePhotoID, profilePhotoID, friendProfilePhotoID, false)
var query = PFQuery(className: "Message", predicate: predicate)
How can I do the same query using the Parse Android SDK? I don't see an option to do predicates like that.