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.myapp; | |
import android.app.Application; | |
import com.android.volley.RequestQueue; | |
import com.android.volley.toolbox.Volley; | |
public class MyApplication extends Application { | |
private static RequestQueue requestQueue; | |
private static MyApplication appInstance = null; |
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
public final class VolleyIdlingResource implements IdlingResource { | |
private static final String TAG = "VolleyIdlingResource"; | |
private final String resourceName; | |
// written from main thread, read from any thread. | |
private volatile ResourceCallback resourceCallback; | |
private Field mCurrentRequests; | |
private RequestQueue mVolleyRequestQueue; |
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.interceptedittext; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.widget.EditText; | |
/** | |
* A TextView that supports true type fonts directly as a property in the XML. | |
* | |
* @see CachedTrueTypeDelegate check for more details adding fonts |