资源简介

①ListView异步加载图片的方式 ②给ImageView设置Tag,解决图片覆盖问题 ③采用LruCache缓存已经加载过的图片 ④当ListView滚动时不加载图片,滚动停止时才加载图片,从而达到ListView滑动很流畅的效果 ⑤当ListView加载图片时只加载当前屏幕内可见的条目

资源截图

代码片段和文件信息

/** Automatically generated file. DO NOT MODIFY */
package com.example.asynctaskpractice;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        475  2015-10-20 08:43  AsyncTaskPractice\.classpath

     文件        853  2015-10-19 20:37  AsyncTaskPractice\.project

     文件        598  2015-10-19 22:48  AsyncTaskPractice\.settings\org.eclipse.jdt.core.prefs

     文件        964  2015-10-19 22:03  AsyncTaskPractice\AndroidManifest.xml

     文件        964  2015-10-28 10:16  AsyncTaskPractice\bin\AndroidManifest.xml

     文件     199076  2015-10-28 11:31  AsyncTaskPractice\bin\AsyncTaskPractice.apk

     文件        367  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\BuildConfig.class

     文件       1258  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\ImageLoader$1.class

     文件       1234  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\ImageLoader$2.class

     文件       1252  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\ImageLoader$3.class

     文件       2131  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\ImageLoader$NewsAsyncTask.class

     文件       5981  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\ImageLoader.class

     文件       1994  2015-10-28 11:34  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\MainActivity$NewsAsyncTask.class

     文件       4063  2015-10-28 11:34  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\MainActivity.class

     文件        671  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\NewsAdapter$ViewHolder.class

     文件       4198  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\NewsAdapter.class

     文件       1528  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\NewsBean.class

     文件        373  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$attr.class

     文件        494  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$dimen.class

     文件        440  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$drawable.class

     文件        555  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$id.class

     文件        470  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$layout.class

     文件        421  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$menu.class

     文件        505  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$string.class

     文件        464  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R$style.class

     文件        783  2015-10-28 10:16  AsyncTaskPractice\bin\classes\com\example\asynctaskpractice\R.class

     文件     456072  2015-10-28 11:31  AsyncTaskPractice\bin\classes.dex

     文件     149791  2015-10-28 11:31  AsyncTaskPractice\bin\dexedLibs\android-support-v4-25ef9b001f3731d222f5184b62c8056c.jar

     文件       5964  2015-10-28 11:31  AsyncTaskPractice\bin\res\crunch\drawable-hdpi\ic_launcher.png

     文件       3112  2015-10-28 11:31  AsyncTaskPractice\bin\res\crunch\drawable-mdpi\ic_launcher.png

............此处省略68个文件信息

评论

共有 条评论

相关资源