aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma/BusSpecificTimetableAdapter.java
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-16 13:43:51 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-16 13:43:51 +0000
commit86629c735d4f7c48e1562825ca63ba3335363cbb (patch)
tree87ff143b433350c531800428c6182e6568e44e9e /src/net/cbaines/suma/BusSpecificTimetableAdapter.java
parente20303f3de0782c31a0a794d1be4a06e3b4a0c76 (diff)
downloadsouthamptonuniversitymap-86629c735d4f7c48e1562825ca63ba3335363cbb.tar
southamptonuniversitymap-86629c735d4f7c48e1562825ca63ba3335363cbb.tar.gz
ARRRRRRRGHH, bus routes dont work, the U6 route loops over the same ground twice by wessex lane, traveling in the same direction, breaking the BusRoute.moveInRoute code :(
Diffstat (limited to 'src/net/cbaines/suma/BusSpecificTimetableAdapter.java')
-rw-r--r--src/net/cbaines/suma/BusSpecificTimetableAdapter.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/net/cbaines/suma/BusSpecificTimetableAdapter.java b/src/net/cbaines/suma/BusSpecificTimetableAdapter.java
index c5b81d3..4cc894f 100644
--- a/src/net/cbaines/suma/BusSpecificTimetableAdapter.java
+++ b/src/net/cbaines/suma/BusSpecificTimetableAdapter.java
@@ -19,8 +19,6 @@
package net.cbaines.suma;
-import android.content.Context;
-import android.os.Handler;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
@@ -33,14 +31,12 @@ public class BusSpecificTimetableAdapter extends BaseAdapter {
private Timetable timetable;
private final Animation a;
private boolean[] changed;
- private Handler handler;
- private static final String TAG = "BusSpecificTimetableAdapter";
+ // private static final String TAG = "BusSpecificTimetableAdapter";
- public BusSpecificTimetableAdapter(BusActivity context, Timetable timetable, Handler handler) {
+ public BusSpecificTimetableAdapter(BusActivity context, Timetable timetable) {
this.context = context;
this.timetable = timetable;
- this.handler = handler;
this.a = AnimationUtils.loadAnimation(context, R.anim.updated_stop_view);
}
@@ -49,7 +45,7 @@ public class BusSpecificTimetableAdapter extends BaseAdapter {
BusSpecificStopView stopView;
if (convertView == null) {
- stopView = new BusSpecificStopView(context, timetable.get(position), handler);
+ stopView = new BusSpecificStopView(context, timetable.get(position));
} else {
stopView = (BusSpecificStopView) convertView;
stopView.setStop(timetable.get(position));