
I am working on parse.com android application in which I want to get data from UserInfo table, Getting data from _User table is quite easy through .GetCurrentUser but I can't get data from UserInfo table like ObjectId etc columns. Some code snippet of mine is given below in which I want to get the data from UserInfo table. Attached snapshot is also given below for better understanding of a table.
ParseQuery<ParseObject> query = ParseQuery.getQuery("UserInfo");
// query.whereEqualTo("userName",user_name);
query.findInBackground(new FindCallback<ParseObject>() {
@Override
public void done(List<ParseObject> categoryAttributes, ParseException e) {
if (e == null) {
for (int i = 0; i < categoryAttributes.size(); i++){
}
}
else {
Log.d("score", "Error: " + e.getMessage());
// Alert.alertOneBtn(getActivity(),"Something went wrong!");
}
}
});