0
使用解析SDK爲Android,我想接收來自查詢ParseUser,下面的代碼是我曾嘗試:從列表中獲取ParseUser <ParseUser>使用Parse SDK for android?
ParseQuery<ParseUser> query = ParseUser.getQuery();
Follow.include("author");
query.whereEqualTo("User", "Alex");
query.findInBackground(new FindCallback<ParseUser>() {
public void done(List<ParseUser> objects, ParseException e) {
if (e == null) {
// This is where I want to receive the ParseUser from the List<ParseUser>
ParseUser pu = objects.get("author");
} else {
}
} });
Object.get(「作家」)產生的錯誤。
三江源閱讀:)