Merge pull request #975 from tinloaf/reloadcontactlist
Reload contact list after directory refresh // FREEBIE
This commit is contained in:
commit
827298d1a2
2 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue