Android 为ListView每个Item上面的按钮添加事件

上传者: wujitianxia1 | 上传时间: 2019-12-21 21:57:39 | 文件大小: 333KB | 文件类型: rar
Android ListView每个Item上面的有TextView和Button,为ListView每个Item上面的按钮添加事件,并获取TextView文本信息。

文件下载

资源详情

[{"title":"( 96 个子文件 333KB ) Android 为ListView每个Item上面的按钮添加事件","children":[{"title":"ListViewButtonListener-master2","children":[{"title":"ListViewButtonListener-master2.iml <span style='color:#111;'> 961B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"build.gradle <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 711B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"vlist.xml <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 468B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"item.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"btn_detail_selecter.xml <span style='color:#111;'> 506B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"item_higlight.9.png <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"btn_detail_normal.png <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":"list_line.png <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"b.png <span style='color:#111;'> 38.01KB </span>","children":null,"spread":false},{"title":"bg_img_coner.9.png <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"btn_detail_pressed.png <span style='color:#111;'> 736B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"drawables.xml <span style='color:#111;'> 434B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"ms","children":[{"title":"ListView","children":[{"title":"ListViewActivity.java <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"build","children":[{"title":"generated","children":[{"title":"res","children":[{"title":"rs","children":[{"title":"debug","children":null,"spread":false},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"resValues","children":[{"title":"androidTest","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"source","children":[{"title":"rs","children":[{"title":"debug","children":null,"spread":false},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"buildConfig","children":[{"title":"debug","children":[{"title":"ms","children":[{"title":"ListView","children":[{"title":"BuildConfig.java <span style='color:#111;'> 429B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"debug","children":[{"title":"ms","children":[{"title":"ListView","children":[{"title":"test","children":[{"title":"BuildConfig.java <span style='color:#111;'> 437B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"aidl","children":[{"title":"debug","children":null,"spread":false},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"r","children":[{"title":"debug","children":[{"title":"ms","children":[{"title":"ListView","children":[{"title":"R.java <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"intermediates","children":[{"title":"classes","children":[{"title":"debug","children":[{"title":"ms","children":[{"title":"ListView","children":[{"title":"R$color.class <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"ListViewActivity$MyAdapter.class <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"ListViewActivity$1.class <span style='color:#111;'> 830B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"ListViewActivity$ViewHolder.class <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"ListViewActivity.class <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"ListViewActivity$MyAdapter$1.class <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 880B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"blame","children":[{"title":"res","children":[{"title":"debug","children":[{"title":"single","children":[{"title":"drawable-ldpi-v4.json <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"drawable.json <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"layout.json <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"drawable-mdpi-v4.json <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"drawable-hdpi-v4.json <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"multi","children":[{"title":"values.json <span style='color:#111;'> 8.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"manifest","children":[{"title":"androidTest","children":[{"title":"debug","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 624B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tmp","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"merged","children":[{"title":"debug","children":[{"title":"layout","children":[{"title":"vlist.xml <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 468B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"item.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"btn_detail_selecter.xml <span style='color:#111;'> 506B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-ldpi-v4","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-hdpi-v4","children":[{"title":"item_higlight.9.png <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"btn_detail_normal.png <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"list_line.png <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"b.png <span style='color:#111;'> 24.10KB </span>","children":null,"spread":false},{"title":"bg_img_coner.9.png <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"btn_detail_pressed.png <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi-v4","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"values.xml <span style='color:#111;'> 717B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"resources-debug.ap_ <span style='color:#111;'> 42.25KB </span>","children":null,"spread":false},{"title":"resources-debug-androidTest.ap_ <span style='color:#111;'> 758B </span>","children":null,"spread":false}],"spread":true},{"title":"rs","children":[{"title":"debug","children":[{"title":"obj","children":null,"spread":false},{"title":"lib","children":null,"spread":false}],"spread":true},{"title":"androidTest","children":[{"title":"debug","children":[{"title":"obj","children":null,"spread":false},{"title":"lib","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"assets","children":[{"title":"debug","children":null,"spread":false},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"incremental","children":[{"title":"mergeDebugAndroidTestAssets","children":[{"title":"merger.xml <span style='color:#111;'> 194B </span>","children":null,"spread":false}],"spread":false},{"title":"mergeDebugAssets","children":[{"title":"merger.xml <span style='color:#111;'> 308B </span>","children":null,"spread":false}],"spread":false},{"title":"mergeDebugJniLibFolders","children":[{"title":"merger.xml <span style='color:#111;'> 310B </span>","children":null,"spread":false}],"spread":false},{"title":"compileDebugAidl","children":[{"title":"dependency.store <span style='color:#111;'> 5B </span>","children":null,"spread":false}],"spread":false},{"title":"mergeDebugAndroidTestResources","children":[{"title":"merger.xml <span style='color:#111;'> 844B </span>","children":null,"spread":false}],"spread":false},{"title":"mergeDebugResources","children":[{"title":"merger.xml <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"compileDebugAndroidTestAidl","children":[{"title":"dependency.store <span style='color:#111;'> 5B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"transforms","children":[{"title":"dex","children":[{"title":"debug","children":[{"title":"folders","children":[{"title":"1000","children":[{"title":"1f","children":[{"title":"main","children":[{"title":"classes.dex <span style='color:#111;'> 8.52KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"mergeJniLibs","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"mergeJavaRes","children":[{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"pre-dexed","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"symbols","children":[{"title":"debug","children":null,"spread":false},{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"manifests","children":[{"title":"full","children":[{"title":"debug","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 790B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"dependency-cache","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"jniLibs","children":[{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"outputs","children":[{"title":"apk","children":[{"title":"app-debug.apk <span style='color:#111;'> 49.18KB </span>","children":null,"spread":false},{"title":"app-debug-unaligned.apk <span style='color:#111;'> 49.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"logs","children":[{"title":"manifest-merger-debug-report.txt <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tmp","children":[{"title":"compileDebugJavaWithJavac","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app.iml <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"settings.gradle <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":".gradle","children":[{"title":"2.8","children":[{"title":"taskArtifacts","children":[{"title":"fileSnapshots.bin <span style='color:#111;'> 48.70KB </span>","children":null,"spread":false},{"title":"fileHashes.bin <span style='color:#111;'> 22.04KB </span>","children":null,"spread":false},{"title":"outputFileStates.bin <span style='color:#111;'> 19.34KB </span>","children":null,"spread":false},{"title":"taskArtifacts.bin <span style='color:#111;'> 43.90KB </span>","children":null,"spread":false},{"title":"cache.properties.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"cache.properties <span style='color:#111;'> 31B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"import-summary.txt <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 136.06KB </span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 76B </span>","children":null,"spread":false}],"spread":false},{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 29B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 397B </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"local.properties <span style='color:#111;'> 566B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • NantiJiang :
    这个文件下载下来了,我没用上
    2019-12-02

免责申明

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