首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

ListAdapter 没有数据时候会如何避免

2012-08-22 
ListAdapter没有数据时候会如何处理The View with the?empty?id is used automatically when the?ListAdap

ListAdapter 没有数据时候会如何处理

The View with the?empty?id is used automatically when the?ListAdapter?has no data for the ListView. The ListAdapter knows to look for this name by default. Alternatively, you could change the default empty view by using?setEmptyView(View)?on the ListView.

热点排行