Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fcb853d authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Fix bug 5051541 Group members list flashes when syncing

Bug 5051541

Change-Id: I0b90426067c2bc179be9c8103df8818720330889
parent 06c3ca10
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -149,6 +149,7 @@ public class GroupDetailFragment extends Fragment implements OnScrollListener {
        mGroupSourceViewContainer = (ViewGroup) mRootView.findViewById(
                R.id.group_source_view_container);
        mMemberListView = (ListView) mRootView.findViewById(android.R.id.list);
        mMemberListView.setAdapter(mAdapter);

        return mRootView;
    }
@@ -162,11 +163,6 @@ public class GroupDetailFragment extends Fragment implements OnScrollListener {
        mAdapter.enableQuickContact(enableQuickContact);
    }

    private void configureAdapter(long groupId) {
        mGroupId = groupId;
        mMemberListView.setAdapter(mAdapter);
    }

    private void configurePhotoLoader() {
        if (mContext != null) {
            if (mPhotoManager == null) {
@@ -234,7 +230,6 @@ public class GroupDetailFragment extends Fragment implements OnScrollListener {
                    bindGroupMetaData(data);

                    // Retrieve the list of members
                    configureAdapter(mGroupId);
                    startGroupMembersLoader();
                    return;
                }