mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-22 02:58:26 +00:00
Reload contact list after directory refresh // FREEBIE
I forgot that in my PR, it seems.
This commit is contained in:
parent
b5fe378bc9
commit
48f5b932f7
@ -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