Android Open Source - Projectile Priority






From Project

Back to project page Projectile.

License

The source code is released under:

Apache License

If you think the Android project Projectile listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.nicktate.projectile;
/*  ww  w .j av  a  2s  . co m*/
import com.android.volley.Request;

/**
 * Priority Method Type Mapping to {@link com.android.volley.Request.Method} for enum convenience in builder
 */
public enum Priority {
    LOW(Request.Priority.LOW),
    NORMAL(Request.Priority.NORMAL),
    HIGH(Request.Priority.HIGH),
    IMMEDIATE(Request.Priority.IMMEDIATE);

    private Request.Priority mPriority;

    public Request.Priority getValue() {
        return mPriority;
    }

    Priority(Request.Priority p) {
        mPriority = p;
    }
}




Java Source Code List

com.nicktate.Sample.java
org.nicktate.projectile.JsonElementListener.java
org.nicktate.projectile.Method.java
org.nicktate.projectile.NetworkResponseListener.java
org.nicktate.projectile.OkHttpStack.java
org.nicktate.projectile.Priority.java
org.nicktate.projectile.ProjectileRequest.java
org.nicktate.projectile.Projectile.java
org.nicktate.projectile.ResponseListener.java
org.nicktate.projectile.StringListener.java