由网友(书到用时方恨少)分享简介:在Android的,哪些功能做ListActivity和ListView提供超越常规的活动和看法?In Android, what functionality do ListActivity and ListView provide beyond a regular Activity and View?推荐答案A...
在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.
相关推荐
最新文章