notification refresh
This commit is contained in:
parent
2380abb411
commit
9c3e436cdc
|
@ -225,8 +225,9 @@ public class DisplayAccountsFragment extends Fragment implements OnRetrieveAccou
|
||||||
swiped = false;
|
swiped = false;
|
||||||
}
|
}
|
||||||
if( accounts != null && accounts.size() > 0) {
|
if( accounts != null && accounts.size() > 0) {
|
||||||
|
int currentPosition = this.accounts.size();
|
||||||
this.accounts.addAll(accounts);
|
this.accounts.addAll(accounts);
|
||||||
accountsListAdapter.notifyDataSetChanged();
|
accountsListAdapter.notifyItemRangeChanged(currentPosition,accounts.size());
|
||||||
}
|
}
|
||||||
swipeRefreshLayout.setRefreshing(false);
|
swipeRefreshLayout.setRefreshing(false);
|
||||||
firstLoad = false;
|
firstLoad = false;
|
||||||
|
|
Loading…
Reference in New Issue