Yiğit Çolakoğlu 6 years ago
parent
commit
82532f04e4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      MyCity/app/src/main/java/gq/yigit/mycity/navigation/TransitFragment.java

+ 1
- 0
MyCity/app/src/main/java/gq/yigit/mycity/navigation/TransitFragment.java View File

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


Loading…
Cancel
Save