Reload contact list after directory refresh // FREEBIE

I forgot that in my PR, it seems.
This commit is contained in:
Lukas Barth 2014-03-03 21:18:38 +01:00
parent b5fe378bc9
commit 48f5b932f7
2 changed files with 6 additions and 0 deletions

View file

@ -192,6 +192,8 @@ public class SingleContactSelectionActivity extends PassphraseRequiredSherlockFr
@Override
protected void onPostExecute(Void result) {
final SingleContactSelectionListFragment listFragment = (SingleContactSelectionListFragment)getSupportFragmentManager().findFragmentById(R.id.contact_selection_list_fragment);
listFragment.update();
if (progress != null)
progress.dismiss();
}

View file

@ -89,6 +89,10 @@ public class SingleContactSelectionListFragment extends SherlockListFragment
}
}
public void update() {
this.getLoaderManager().restartLoader(0, null, this);
}
private void addMultipleNumberContact(ContactData contactData, TextView textView) {
String[] options = new String[contactData.numbers.size()];
int i = 0;