60s retry on error
This commit is contained in:
parent
5a4d549398
commit
a0cb629803
@ -176,6 +176,8 @@ public class ViewDeparturesActivity extends ListActivity {
|
||||
Toast.LENGTH_LONG).show();
|
||||
((TextView) findViewById(android.R.id.empty))
|
||||
.setText(R.string.could_not_connect);
|
||||
// Try again in 60s
|
||||
scheduleDataFetch(60000);
|
||||
}
|
||||
};
|
||||
Log.i(Constants.TAG, "Fetching data from server");
|
||||
|
Loading…
Reference in New Issue
Block a user