AsyncLoad:异步从JSON Server加载内容和图像,并在列表视图中显示它们

上传者: 42114041 | 上传时间: 2022-06-17 18:25:47 | 文件大小: 1.14MB | 文件类型: ZIP
异步加载 异步使用JSON加载内容和图像并将其显示在listview上 如何在本地将Eclipse加载项目(AsyncLoad和AsyncLoadTest) 文件->导入->常规->现有项目进入workapce->选择根目录->单击“浏览...”,然后选择该项目的根目录(您将在“项目”字段中看到列出的两个项目) ->全选->完成 如果您在SDK版本上遇到错误,请根据您在AndroidManifest.xml中的API级别修改“ android:targetSdkVersion”的值(请右键单击项目->属性->单击左侧的“ Android”,然后您会找到您选择的“项目构建目标”中“ API级别”的值)。 在构建路径中导入gson库,请右键单击项目->属性->单击左侧的“ Java Build Path”,然后单击“库”->添加外部JAR ...->请选择gson-2.1。此项目的“ li

文件下载

资源详情

[{"title":"( 59 个子文件 1.14MB ) AsyncLoad:异步从JSON Server加载内容和图像,并在列表视图中显示它们","children":[{"title":"AsyncLoad-master","children":[{"title":"LICENSE <span style='color:#111;'> 17.62KB </span>","children":null,"spread":false},{"title":"AsyncLoadTest","children":[{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 121B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"displayjson","children":[{"title":"asyncload","children":[{"title":"test","children":[{"title":"ImageLoaderTest.java <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"ImageMemoryCacheTest.java <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"SimpleAdapterTest.java <span style='color:#111;'> 832B </span>","children":null,"spread":false},{"title":"AsyncLoadActivityTest.java <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"FileCacheTest.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 599B </span>","children":null,"spread":false}],"spread":true},{"title":"AsyncLoadDemo","children":[{"title":"AsyncLoad.apk <span style='color:#111;'> 362.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"AsyncLoad","children":[{"title":"res","children":[{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 324B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"listview_headview_arrow.png <span style='color:#111;'> 18.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 8.88KB </span>","children":null,"spread":false},{"title":"listview_headview_arrow.png <span style='color:#111;'> 18.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"title_bar_background.xml <span style='color:#111;'> 661B </span>","children":null,"spread":false},{"title":"row_item_background.xml <span style='color:#111;'> 317B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 794B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 210B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"listview_headview_arrow.png <span style='color:#111;'> 18.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 196B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"header_view.xml <span style='color:#111;'> 998B </span>","children":null,"spread":false},{"title":"row_item.xml <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"activity_async_load.xml <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"footer_view.xml <span style='color:#111;'> 925B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 51.80KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"displayjson","children":[{"title":"asyncload","children":[{"title":"Constants.java <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"OnUpdateListener.java <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"ImageMemoryCache.java <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"EnhancedListView.java <span style='color:#111;'> 8.88KB </span>","children":null,"spread":false},{"title":"AsyncLoadActivity.java <span style='color:#111;'> 10.21KB </span>","children":null,"spread":false},{"title":"SimpleAdapter.java <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"FileCache.java <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"ImageLoader.java <span style='color:#111;'> 10.96KB </span>","children":null,"spread":false},{"title":"JsonRowItem.java <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"JsonBody.java <span style='color:#111;'> 617B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 543.16KB </span>","children":null,"spread":false},{"title":"gson-2.1.jar <span style='color:#111;'> 175.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明