mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2026-08-11 16:32:53 +00:00
Refresh directly, don't wait
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user