mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-28 18:26:22 +00:00
Fix a crash when refresh is running and scrolling
This commit is contained in:
parent
cc14488a88
commit
8e96526e3c
@ -69,8 +69,10 @@ public class ContactListActivity extends ListActivity implements ASyncContactLoa
|
||||
(new Handler()).post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
_layout.setRefreshing(false);
|
||||
objects.clear();
|
||||
adapter.notifyDataSetChanged();
|
||||
new ContactLoadTask(element, getBaseContext(), adapter, objects).execute();
|
||||
_layout.setRefreshing(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user