mirror of
https://github.com/oxen-io/session-android.git
synced 2025-05-21 08:38:23 +00:00
Merge pull request #975 from tinloaf/reloadcontactlist
Reload contact list after directory refresh // FREEBIE
This commit is contained in:
commit
827298d1a2
@ -192,6 +192,8 @@ public class SingleContactSelectionActivity extends PassphraseRequiredSherlockFr
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPostExecute(Void result) {
|
protected void onPostExecute(Void result) {
|
||||||
|
final SingleContactSelectionListFragment listFragment = (SingleContactSelectionListFragment)getSupportFragmentManager().findFragmentById(R.id.contact_selection_list_fragment);
|
||||||
|
listFragment.update();
|
||||||
if (progress != null)
|
if (progress != null)
|
||||||
progress.dismiss();
|
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) {
|
private void addMultipleNumberContact(ContactData contactData, TextView textView) {
|
||||||
String[] options = new String[contactData.numbers.size()];
|
String[] options = new String[contactData.numbers.size()];
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user