CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 通讯/手机编程 android开发

文件名称:ListViewDemo

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2015-10-28
  • 文件大小:
    1.27mb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

要将数据库中的数据列表显示在屏幕上,我们要使用ListView这个控件,当用户从数据库中取出数据时,要将数据绑定到显示控件上,如何绑定呢,我们需要创建适配器进行绑定,创建适配器有两种方式:



第一种是用SimpleAdapter创建(要求绑定的数据是List<HashMap<String, Object>>数据类型)



第二种是用SimpleCursorAdapter创建(要求绑定的数据是Cursor数据类型)-To list the data is displayed on the screen, we want to use the ListView control, when a user retrieve data the , you want to bind data to the display control, how to bind it, we need to create an adapter bound , create an adapter in two ways:



The first is to use SimpleAdapter creation (requires data binding is List <HashMap <String, Object >> data types)



The second is to create SimpleCursorAdapter (requires data binding is Cursor data type)
(系统自动生成,下载前可以参看下载内容)

下载文件列表

ListViewDemo/.classpath
ListViewDemo/.project
ListViewDemo/.settings/org.eclipse.jdt.core.prefs
ListViewDemo/AndroidManifest.xml
ListViewDemo/bin/AndroidManifest.xml
ListViewDemo/bin/classes/com/example/listviewdemo/BuildConfig.class
ListViewDemo/bin/classes/com/example/listviewdemo/MainActivity.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$attr.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$dimen.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$drawable.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$id.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$layout.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$menu.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$string.class
ListViewDemo/bin/classes/com/example/listviewdemo/R$style.class
ListViewDemo/bin/classes/com/example/listviewdemo/R.class
ListViewDemo/bin/classes.dex
ListViewDemo/bin/dexedLibs/android-support-v4-97d09942220d462330bb68c12c43ae68.jar
ListViewDemo/bin/dexedLibs/annotations-a3b60bc7da3d569fac85ba4700e66402.jar
ListViewDemo/bin/jarlist.cache
ListViewDemo/bin/ListViewDemo.apk
ListViewDemo/bin/res/crunch/drawable-hdpi/ic_launcher.png
ListViewDemo/bin/res/crunch/drawable-mdpi/ic_launcher.png
ListViewDemo/bin/res/crunch/drawable-xhdpi/ic_launcher.png
ListViewDemo/bin/res/crunch/drawable-xxhdpi/ic_launcher.png
ListViewDemo/bin/resources.ap_
ListViewDemo/gen/com/example/listviewdemo/BuildConfig.java
ListViewDemo/gen/com/example/listviewdemo/R.java
ListViewDemo/ic_launcher-web.png
ListViewDemo/libs/android-support-v4.jar
ListViewDemo/proguard-project.txt
ListViewDemo/project.properties
ListViewDemo/res/drawable-hdpi/ic_launcher.png
ListViewDemo/res/drawable-mdpi/ic_launcher.png
ListViewDemo/res/drawable-xhdpi/ic_launcher.png
ListViewDemo/res/drawable-xxhdpi/ic_launcher.png
ListViewDemo/res/layout/activity_main.xml
ListViewDemo/res/layout/list_item.xml
ListViewDemo/res/menu/main.xml
ListViewDemo/res/values/dimens.xml
ListViewDemo/res/values/strings.xml
ListViewDemo/res/values/styles.xml
ListViewDemo/res/values-sw600dp/dimens.xml
ListViewDemo/res/values-sw720dp-land/dimens.xml
ListViewDemo/res/values-v11/styles.xml
ListViewDemo/res/values-v14/styles.xml
ListViewDemo/src/com/example/listviewdemo/MainActivity.java
ListViewDemo/bin/classes/com/example/listviewdemo
ListViewDemo/bin/classes/com/example
ListViewDemo/bin/res/crunch/drawable-hdpi
ListViewDemo/bin/res/crunch/drawable-mdpi
ListViewDemo/bin/res/crunch/drawable-xhdpi
ListViewDemo/bin/res/crunch/drawable-xxhdpi
ListViewDemo/gen/com/example/listviewdemo
ListViewDemo/src/com/example/listviewdemo
ListViewDemo/bin/classes/com
ListViewDemo/bin/res/crunch
ListViewDemo/gen/com/example
ListViewDemo/src/com/example
ListViewDemo/bin/classes
ListViewDemo/bin/dexedLibs
ListViewDemo/bin/res
ListViewDemo/gen/com
ListViewDemo/res/drawable-hdpi
ListViewDemo/res/drawable-ldpi
ListViewDemo/res/drawable-mdpi
ListViewDemo/res/drawable-xhdpi
ListViewDemo/res/drawable-xxhdpi
ListViewDemo/res/layout
ListViewDemo/res/menu
ListViewDemo/res/values
ListViewDemo/res/values-sw600dp
ListViewDemo/res/values-sw720dp-land
ListViewDemo/res/values-v11
ListViewDemo/res/values-v14
ListViewDemo/src/com
ListViewDemo/.settings
ListViewDemo/assets
ListViewDemo/bin
ListViewDemo/gen
ListViewDemo/libs
ListViewDemo/res
ListViewDemo/src
ListViewDemo

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com