类的使用
com.android.volley.toolbox.ImageLoader.ImageContainer
-
com.android.volley.toolbox中ImageLoader.ImageContainer的使用
修饰符和类型方法说明ImageLoader.get(String requestUrl, ImageLoader.ImageListener listener) Returns an ImageContainer for the requested URL.ImageLoader.get(String requestUrl, ImageLoader.ImageListener imageListener, int maxWidth, int maxHeight) Equivalent to callingImageLoader.get(String, ImageListener, int, int, ScaleType)withScaletype == ScaleType.CENTER_INSIDE.ImageLoader.get(String requestUrl, ImageLoader.ImageListener imageListener, int maxWidth, int maxHeight, android.widget.ImageView.ScaleType scaleType) Issues a bitmap request with the given URL if that image is not available in the cache, and returns a bitmap container that contains all of the data relating to the request (as well as the default image if the requested image is not available).修饰符和类型方法说明voidImageLoader.ImageListener.onResponse(ImageLoader.ImageContainer response, boolean isImmediate) Listens for non-error changes to the loading of the image request.