Android ListView加载网络数据和图片

上传者: u012440207 | 上传时间: 2019-12-21 21:25:14 | 文件大小: 1.44MB | 文件类型: zip
上一篇写到了ListView的分页功能,这篇接着介绍ListView。 一般情况下的APP中的ListView的显示包括:图片+数据,所以这篇文章介绍Listview加载网络数据和图片,数据采用的是JSON格式。

文件下载

资源详情

[{"title":"( 56 个子文件 1.44MB ) Android ListView加载网络数据和图片","children":[{"title":"ListViewDemo_ImageAndData","children":[{"title":".project <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"listviewdemo_imageanddata","children":[{"title":"DownImage.java <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"MyAdapter.java <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"item.xml <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"listviewdemo_imageanddata","children":[{"title":"BuildConfig.java <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 612.87KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"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;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 40.87KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"listviewdemo_imageanddata","children":[{"title":"R$layout.class <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"MyAdapter$1.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 440B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"DownImage$2.class <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"DownImage$ImageCallBack.class <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":"MainActivity$MyTask.class <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"DownImage.class <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"MyAdapter$ViewHolder.class <span style='color:#111;'> 712B </span>","children":null,"spread":false},{"title":"DownImage$1.class <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 783B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false},{"title":"MyAdapter.class <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-d5aea966940d54d2d276629008cdc3d7.jar <span style='color:#111;'> 228.94KB </span>","children":null,"spread":false}],"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"ListViewDemo_ImageAndData.apk <span style='color:#111;'> 277.66KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 687.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • yfvoyage :
    对于初学者有一定的帮助,能用,感谢
    2020-02-18
  • yfvoyage :
    对于初学者有一定的帮助,能用,感谢
    2020-02-18
  • tanjin168 :
    下载下来看看
    2018-12-05
  • tanjin168 :
    下载下来看看
    2018-12-05
  • qq_34957177 :
    示例能用,谢谢楼主
    2018-11-19
  • qq_34957177 :
    示例能用,谢谢楼主
    2018-11-19
  • wangjingboasp :
    还可以,示例能用.
    2018-07-30
  • wangjingboasp :
    还可以,示例能用.
    2018-07-30
  • qq_35750180 :
    不错,值得学习
    2017-11-02
  • 卡布。 :
    不错,值得学习
    2017-11-02

免责申明

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