diff --git a/MyCity/app/src/main/java/gq/yigit/mycity/navigation/TransitFragment.java b/MyCity/app/src/main/java/gq/yigit/mycity/navigation/TransitFragment.java index 88854aa..657abf5 100644 --- a/MyCity/app/src/main/java/gq/yigit/mycity/navigation/TransitFragment.java +++ b/MyCity/app/src/main/java/gq/yigit/mycity/navigation/TransitFragment.java @@ -173,6 +173,7 @@ public class TransitFragment extends Fragment implements WebRequest.responseList @Override public void receivedResponse(boolean success,String response, int reqid){ Log.i("[INFO]",response); + TransitContent.ITEMS.clear(); try{ JSONObject travel = new JSONObject(response); JSONArray routes = new JSONArray(travel.getString("routes"));