Public 成员函数 | |
| AbImageLoader (Context context) | |
| void | display (final ImageView imageView, String url) |
| void | setLoadingImage (int resID) |
| void | setLoadingView (View view) |
| void | setErrorImage (int resID) |
| void | setEmptyImage (int resID) |
| int | getMaxWidth () |
| void | setMaxWidth (int maxWidth) |
| int | getMaxHeight () |
| void | setMaxHeight (int maxHeight) |
静态 Public 成员函数 | |
| static AbImageLoader | newInstance (Context context) |
Private 属性 | |
| Context | mContext = null |
| int | maxWidth |
| int | maxHeight |
| Drawable | loadingImage |
| View | loadingView |
| Drawable | errorImage |
| Drawable | emptyImage |
| RequestQueue | mQueue |
| ImageLoader | mImageLoader = null |
© 2012 amsoft.cn 名称:AbImageLoader.java 描述:下载图片并显示的工具类.
|
inline |
构造图片下载器.
| context | the context |
|
inline |
显示这个图片
| imageView | 显得的View |
| url | the url |
|
inline |
|
inline |
|
inlinestatic |
New instance.
| context | the context |
|
inline |
描述:设置未找到的图片.
| resID | the new empty image |
|
inline |
描述:设置下载失败的图片.
| resID | the new error image |
|
inline |
描述:设置下载中的图片.
| resID | the new loading image |
|
inline |
描述:设置下载中的View,优先级高于setLoadingImage.
| view | 放在ImageView的上边或者下边的View |
|
inline |
|
inline |
|
private |
图片未找到的图片.
|
private |
显示下载失败的图片.
|
private |
显示为下载中的图片.
|
private |
显示为下载中的View.
|
private |
显示的图片的高.
|
private |
显示的图片的宽.
|
private |
Context.
|
private |
|
private |
1.8.8