Search in sources :

Example 1 with GroupMemberListed

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);
}
Also used : GroupListed(org.aisen.weibo.sina.sinasdk.bean.GroupListed) GroupMemberListed(org.aisen.weibo.sina.sinasdk.bean.GroupMemberListed) BizFragment(org.aisen.weibo.sina.ui.fragment.base.BizFragment) ABaseFragment(org.aisen.android.ui.fragment.ABaseFragment) Fragment(android.app.Fragment)

Example 2 with GroupMemberListed

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);
}
Also used : GroupMemberListed(org.aisen.weibo.sina.sinasdk.bean.GroupMemberListed) Params(org.aisen.android.network.http.Params)

Aggregations

GroupMemberListed (org.aisen.weibo.sina.sinasdk.bean.GroupMemberListed)2 Fragment (android.app.Fragment)1 Params (org.aisen.android.network.http.Params)1 ABaseFragment (org.aisen.android.ui.fragment.ABaseFragment)1 GroupListed (org.aisen.weibo.sina.sinasdk.bean.GroupListed)1 BizFragment (org.aisen.weibo.sina.ui.fragment.base.BizFragment)1