All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bumptech.glide.integration.volley.VolleyRequestFactory Maven / Gradle / Ivy

package com.bumptech.glide.integration.volley;

import com.android.volley.Request;
import com.android.volley.Request.Priority;

import java.io.InputStream;
import java.util.Map;

/**
 * Used to construct a custom Volley request, such as for authentication header decoration.
 */
public interface VolleyRequestFactory {

    /**
     * Returns a Volley request for the given image url. The given future should be set as a
     * listener or called when the request completes.
     */
    Request create(String url, VolleyRequestFuture future, Priority priority,
        Map headers);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy