This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.retrofit.loader; | |
import retrofit.Response; | |
/** | |
* A wrapper around the Retrofit {@link Response} that will | |
* throw any loading errors upon retrieval. | |
* | |
* @param <T> The data type that was loaded. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.android; | |
import android.content.ComponentCallbacks2; | |
import android.content.Context; | |
import android.content.res.Configuration; | |
import android.os.StatFs; | |
import android.support.annotation.NonNull; | |
import com.android.volley.AuthFailureError; | |
import com.android.volley.Request; |