什么ListActivity和ListView提供超越常规的活动和观? [英] What do ListActivity and ListView provide beyond a regular Activity and View?

查看:145
本文介绍了什么ListActivity和ListView提供超越常规的活动和观?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android的,哪些功能做ListActivity和ListView提供超越常规的活动和看法?

In Android, what functionality do ListActivity and ListView provide beyond a regular Activity and View?

推荐答案

A ListActivity 提供了使用的ListView一些方便的方法活动的内部。最好的例子是,这是很容易到数据源(的ArrayList 光标到数据库)连接到在的ListView ,并将它显示给用户。在的ListView ,也可以变成可点击

A ListActivity provides some convenience methods for using a ListView inside of the Activity. The best example would be that it is very easy to attach a data source (ArrayList or Cursor to a Database) to the ListView and have it be displayed to the user. The ListView can also be made clickable.

这篇关于什么ListActivity和ListView提供超越常规的活动和观?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆