47 |
|
|
48 |
((TextView)findViewById(R.id.Train)).setText(departure.getTrainNumber()); |
((TextView)findViewById(R.id.Train)).setText(departure.getTrainNumber()); |
49 |
((TextView)findViewById(R.id.Status)).setText(departure.getStatus()); |
((TextView)findViewById(R.id.Status)).setText(departure.getStatus()); |
50 |
|
((TextView)findViewById(R.id.Location)).setText(departure.getLocation()); |
51 |
((TextView)findViewById(R.id.Note)).setText(departure.getNote()); |
((TextView)findViewById(R.id.Note)).setText(departure.getNote()); |
52 |
((TextView)findViewById(R.id.Updated)).setText(departure.getLastUpdateString()); |
((TextView)findViewById(R.id.Updated)).setText(departure.getLastUpdateString()); |
53 |
|
|
152 |
protected Void doInBackground(String... arg0) { |
protected Void doInBackground(String... arg0) { |
153 |
String trainID = arg0[0]; |
String trainID = arg0[0]; |
154 |
success = provider.lookupTimetable(trainID); |
success = provider.lookupTimetable(trainID); |
155 |
timetables = provider.getTimetable(); |
timetables = provider.getTimetable(trainID); |
156 |
|
|
157 |
return null; |
return null; |
158 |
} |
} |