个人中心 增加我的问答
This commit is contained in:
@ -54,6 +54,13 @@ public class UserManager {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
if (mUserInfoEntity != null) {
|
||||
return mUserInfoEntity.getUserId();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
public void setCommunityId(Context context, String communityId) {
|
||||
if (!mCommunityId.equals(communityId)) {
|
||||
PreferenceManager.getDefaultSharedPreferences(context).edit().putString(COMMUNITY_ID, communityId).apply();
|
||||
|
||||
Reference in New Issue
Block a user