mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-12 02:16:21 +00:00
Refresh directly, don't wait
This commit is contained in:
parent
6ee249ca7e
commit
b937c4ebdd
@ -66,13 +66,13 @@ public class ContactListActivity extends ListActivity implements ASyncContactLoa
|
||||
@Override
|
||||
public void onRefresh() {
|
||||
_layout.setRefreshing(true);
|
||||
(new Handler()).postDelayed(new Runnable() {
|
||||
(new Handler()).post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
_layout.setRefreshing(false);
|
||||
new ContactLoadTask(element, getBaseContext(), adapter, objects).execute();
|
||||
}
|
||||
}, 3000);
|
||||
});
|
||||
}
|
||||
});
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user