Do not re-fetch contacts when going into contacts list
This commit is contained in:
parent
fb09741ee9
commit
07383beea4
1 changed files with 1 additions and 2 deletions
|
@ -148,7 +148,6 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
|
||||
contactsFetchInProgress = (ProgressBar) view.findViewById(R.id.contactsFetchInProgress);
|
||||
contactsFetchInProgress.setVisibility(View.VISIBLE);
|
||||
ContactsManager.getInstance().fetchContactsAsync();
|
||||
|
||||
return view;
|
||||
}
|
||||
|
@ -394,8 +393,8 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
|
|||
|
||||
@Override
|
||||
public void onResume() {
|
||||
ContactsManager.addContactsListener(this);
|
||||
super.onResume();
|
||||
ContactsManager.addContactsListener(this);
|
||||
|
||||
if (editConsumed) {
|
||||
editOnClick = false;
|
||||
|
|
Loading…
Reference in a new issue