how to use my jar to download images Demo,just use about 4 line code to compete download image fastest and your application will run smoothly // download image in normal not fit Adapter Mode // step one : initImageLoader(cacheDir,R.drawable.alert_dark_frame); // step two bindImage(key,url,imageView,extra); // download images in other way fit Adapter Mode (BaseAdapter,ViewPagerAdapter) // step one redefine your adapter which texteds ImageLoadAdapter or ImageLoadViewPageAdapter,here we named it TestImageLoadAdapter TestImageLoadAdapter adapter = new TestImageLoadAdapter(this); // step thiree add this adapter to Activity Life Cycle addLifeCycleListener(adapter); // step three in getView(int position, View view, ViewGroup root) within Adapter call method bindImage(key,url,imageView,extra) // to start load image if you needs,see also like bindImage(key,url,imageView,extra); // and the last you must call static method stopLoader in ImageLoader to stop load image before you quit or cancel your application ImageLoader.stopLoader();
- 粉丝: 1
- 资源: 8
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助