We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用BmobUser.fetchUserJsonInfo(FetchUserInfoListener)后拿到了一个String类型的更新信息,但无法将本地MyUser信息更新为最新用户信息,缺少相应接口或方法
The text was updated successfully, but these errors were encountered:
有String类型你不能转为User的?
Sorry, something went wrong.
比如这样 //更新资料 public void updateUserData() { MyUser.fetchUserJsonInfo(new FetchUserInfoListener<MyUser>() { @Override public void done(MyUser myUser, BmobException e) { if (e == null) { Zx.d(s); //在这里如何把本地的MyUser更新到请求到的myUser呢 } else { Zx.e(e.getErrorCode() + e.getMessage()); Zx.show(e.getErrorCode() + e.getMessage()); } } }); } 又如何把网络的更新保存到本地呢
//更新资料 public void updateUserData() { MyUser.fetchUserJsonInfo(new FetchUserInfoListener<MyUser>() { @Override public void done(MyUser myUser, BmobException e) { if (e == null) { Zx.d(s); //在这里如何把本地的MyUser更新到请求到的myUser呢 } else { Zx.e(e.getErrorCode() + e.getMessage()); Zx.show(e.getErrorCode() + e.getMessage()); } } }); }
`MyUser.fetchUserInfo(new FetchUserInfoListener() { @OverRide public void done(MyUser myUser, BmobException e) {
} });`
如何保存MyUser到本地呢
No branches or pull requests
调用BmobUser.fetchUserJsonInfo(FetchUserInfoListener)后拿到了一个String类型的更新信息,但无法将本地MyUser信息更新为最新用户信息,缺少相应接口或方法
The text was updated successfully, but these errors were encountered: