use of org.aisen.weibo.sina.sinasdk.bean.GroupMemberListed in project AisenWeiBo by wangdan.
the class ProfileAboutFragment method onFriendshipCreated.
@Override
public void onFriendshipCreated(WeiBoUser targetUser) {
if (mFriendship != null)
mFriendship.getSource().setFollowing(true);
mUser.setRecentStatusId(targetUser.getRecentStatusId());
mGroupMemberListed = new GroupMemberListed();
mGroupMemberListed.setLists(new ArrayList<GroupListed>());
mGroupMemberListed.setUid(mUser.getIdstr());
setProfile();
setGroupList();
// 设置Pager的菜单显示
Fragment fragment = getActivity().getFragmentManager().findFragmentByTag(SinaCommonActivity.FRAGMENT_TAG);
((ProfilePagerFragment) fragment).setFriendshipShow(mFriendship);
}
use of org.aisen.weibo.sina.sinasdk.bean.GroupMemberListed in project AisenWeiBo by wangdan.
the class SinaSDK method friendshipGroupsListed.
/**
* 批量获取某些用户在当前登录用户指定好友分组中的收录信息
*
* @param uids
* 需要获取好友分组信息的用户UID列表,多个之间用逗号分隔,每次不超过50个
* @param token
* @return
*/
public GroupMemberListed[] friendshipGroupsListed(String uids) throws TaskException {
Params params = new Params("uids", uids);
params.setEncodeAble(false);
return doGet(getSetting("friendshipGroupsListed"), params, GroupMemberListed[].class);
}
Aggregations