@Override public void onModifyUserRemark(String remark) { mUser.setRemark(remark); setProfileView(); getAdapter().notifyDataSetChanged(); }
@Override public void onResume() { super.onResume(); setProfileView(); BaiduAnalyzeUtils.onPageStart("个人微博"); // 分组发生改变 if (ActivityHelper.getInstance().getBooleanShareData("ChanneSortHasChanged", false) || ActivityHelper.getInstance().getBooleanShareData("offlineChanneChanged", false)) { setGroupList(); } }
@Override public void onFriendshipDestoryed(WeiBoUser targetUser) { if (mFriendship != null) mFriendship.getSource().setFollowing(false); mGroupMemberListed = null; mUser.setRemark(""); if (mNewUser != null) mNewUser.setRemark(""); setProfileView(); getActivity().invalidateOptionsMenu(); getAdapter().notifyDataSetChanged(); }
@Override public void onFriendshipCreated(WeiBoUser targetUser) { if (mFriendship != null) mFriendship.getSource().setFollowing(true); mUser.setRecentStatusId(targetUser.getRecentStatusId()); if (mNewUser != null) mNewUser.setRecentStatusId(targetUser.getRecentStatusId()); mGroupMemberListed = new GroupMemberListed(); mGroupMemberListed.setLists(new ArrayList<GroupListed>()); mGroupMemberListed.setUid(mUser.getIdstr()); setProfileView(); setGroupList(); getActivity().invalidateOptionsMenu(); getAdapter().notifyDataSetChanged(); }