阅读背景:

如何在android中使用parse sdk检索当前用户数据?

来源:互联网 

The goal is : after a user has been logged in , the next activity should display his list of courses. There is a table of courses in Parse's cloud, but how can I retrieve the correct courses (current user's courses) ? I've thought of 2 approaches : 1. using getCurrentUser method - but what if there are more than one user in the cache ? 2. save for each course the userName that saved it , and then query for that userName - but how should I know that the currentUser method will return the correct user ? The goal is : after a user has been logged in ,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: