60s retry on error

This commit is contained in:
dougkeen 2011-07-02 18:11:10 -07:00
parent 5a4d549398
commit a0cb629803

View File

@ -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");