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