使用Gson解析json并且加载json中的网络图片

上传者: liu540885284 | 上传时间: 2021-06-18 13:59:31 | 文件大小: 1.95MB | 文件类型: RAR
该源码是用Gson解析一个复杂的json,将json中的数据加载到listview中并且根据json中的url地址加载网络图片到listview中。

文件下载

资源详情

[{"title":"( 73 个子文件 1.95MB ) 使用Gson解析json并且加载json中的网络图片","children":[{"title":"使用Gson解析json并且加载json中的网络图片","children":[{"title":"GsonParseJson","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"weather_item.xml <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 789B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"head.png <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </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":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </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":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </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":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"gsonparsejson","children":[{"title":"MainActivity.java <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"Utils.java <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"HttpUtils.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Status.java <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"gsonparsejson","children":[{"title":"MainActivity$MyAdapter$1.class <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"Utils$1.class <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"MainActivity$ViewHolder.class <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"Status$results.class <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"GsonTools$1.class <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 743B </span>","children":null,"spread":false},{"title":"MainActivity$MyAdapter.class <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"GsonTools.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"Status.class <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"Utils$2.class <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"Status$results$weather_data.class <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"Utils$OnLoadImageListener.class <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"HttpUtils.class <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 456B </span>","children":null,"spread":false},{"title":"Utils.class <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"MainActivity$MyAdapter$2.class <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"volley-4adece4b44558c2e823dd18eeeec6f3e.jar <span style='color:#111;'> 104.82KB </span>","children":null,"spread":false},{"title":"android-support-v4-5209c7458c71f20652e964b7bf2a83a8.jar <span style='color:#111;'> 206.37KB </span>","children":null,"spread":false},{"title":"gson-2.2.4-cc4b7703242d070e9de4451c7b8f5b4c.jar <span style='color:#111;'> 67.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-mdpi","children":[{"title":"head.png <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"GsonParseJson.apk <span style='color:#111;'> 356.80KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 1.14MB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 46.63KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"gson-2.2.4.jar <span style='color:#111;'> 185.96KB </span>","children":null,"spread":false},{"title":"volley.jar <span style='color:#111;'> 153.39KB </span>","children":null,"spread":false},{"title":"android-support-v4.jar <span style='color:#111;'> 543.16KB </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"gsonparsejson","children":[{"title":"R.java <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 167B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":false},{"title":"说明.txt <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"weather.html <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • devil_kutulu :
    不错。 有参考价值
    2017-12-18
  • xiyoubaina :
    没怎么用到但是还不错
    2016-12-22
  • t52012314 :
    在研究代码中
    2015-11-15
  • qq_30091205 :
    不错。 有参考价值。
    2015-09-22

免责申明

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