// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/model/JsonAnswer.java
// public class JsonAnswer {
// 
//     @SerializedName("new_entries")
//     @Expose
//     private NewEntries newEntries;
//     @SerializedName("league")
//     @Expose
//     private League league;
//     @SerializedName("standings")
//     @Expose
//     private Standings standings;
//     @SerializedName("update_status")
//     @Expose
//     private Integer updateStatus;
// 
//     public NewEntries getNewEntries() {
//         return newEntries;
//     }
// 
//     public void setNewEntries(NewEntries newEntries) {
//         this.newEntries = newEntries;
//     }
// 
//     public League getLeague() {
//         return league;
//     }
// 
//     public void setLeague(League league) {
//         this.league = league;
//     }
// 
//     public Standings getStandings() {
//         return standings;
//     }
// 
//     public void setStandings(Standings standings) {
//         this.standings = standings;
//     }
// 
//     public Integer getUpdateStatus() {
//         return updateStatus;
//     }
// 
//     public void setUpdateStatus(Integer updateStatus) {
//         this.updateStatus = updateStatus;
//     }
// 
// }
// 
// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/service/JsonService.java
// public interface JsonService {
// 
//     @GET("/drf/leagues-classic-standings/624264?phase=1&le-page=1&ls-page=1")
//     Call<JsonAnswer> getAnswers();
// }
// 
// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/service/Utils.java
// public class Utils {
//     public static final String BASE_URL = "https://fantasy.premierleague.com/";
// 
//     public static JsonService getJsonService() {
//         return RetrofitClient.getClient(BASE_URL).create(JsonService.class);
//     }
// }


import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import com.example.anas.jsonsample.model.JsonAnswer;
import com.example.anas.jsonsample.service.JsonService;
import com.example.anas.jsonsample.service.Utils;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
package com.example.anas.jsonsample;




public class MainActivity extends AppCompatActivity {

    private RecyclerView recyclerView;
    private StandingsResultsAdapter mAdapter;
// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/model/JsonAnswer.java
// public class JsonAnswer {
// 
//     @SerializedName("new_entries")
//     @Expose
//     private NewEntries newEntries;
//     @SerializedName("league")
//     @Expose
//     private League league;
//     @SerializedName("standings")
//     @Expose
//     private Standings standings;
//     @SerializedName("update_status")
//     @Expose
//     private Integer updateStatus;
// 
//     public NewEntries getNewEntries() {
//         return newEntries;
//     }
// 
//     public void setNewEntries(NewEntries newEntries) {
//         this.newEntries = newEntries;
//     }
// 
//     public League getLeague() {
//         return league;
//     }
// 
//     public void setLeague(League league) {
//         this.league = league;
//     }
// 
//     public Standings getStandings() {
//         return standings;
//     }
// 
//     public void setStandings(Standings standings) {
//         this.standings = standings;
//     }
// 
//     public Integer getUpdateStatus() {
//         return updateStatus;
//     }
// 
//     public void setUpdateStatus(Integer updateStatus) {
//         this.updateStatus = updateStatus;
//     }
// 
// }
// 
// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/service/JsonService.java
// public interface JsonService {
// 
//     @GET("/drf/leagues-classic-standings/624264?phase=1&le-page=1&ls-page=1")
//     Call<JsonAnswer> getAnswers();
// }
// 
// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/service/Utils.java
// public class Utils {
//     public static final String BASE_URL = "https://fantasy.premierleague.com/";
// 
//     public static JsonService getJsonService() {
//         return RetrofitClient.getClient(BASE_URL).create(JsonService.class);
//     }
// }


// Path: JsonSample/app/src/main/java/com/example/anas/jsonsample/MainActivity.java
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import com.example.anas.jsonsample.model.JsonAnswer;
import com.example.anas.jsonsample.service.JsonService;
import com.example.anas.jsonsample.service.Utils;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;

package com.example.anas.jsonsample;




public class MainActivity extends AppCompatActivity {

    private RecyclerView recyclerView;
    private StandingsResultsAdapter mAdapter;
    private JsonService mService;