在Android的定制列表视图 [英] custom listview in android

查看:106
本文介绍了在Android的定制列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现在Android中creatinf自定义列表视图两种不同的教训/其中一人使用ArrayAdapter另一个BaseAdapter /人能解释它们之间有什么型动物,并告知傻瓜一些简单的教训上创建自定义列表视图/谢谢

i find two different lessons of creatinf custom listview in android/ One of them uses ArrayAdapter the other one BaseAdapter/ Can someone explain what the differents between them and advise some simple lesson for dummies on creating custom listview/ thanks

推荐答案

HTTP: //developer.android.com/reference/android/widget/BaseAdapter.html
http://developer.android.com/reference/android/widget/ArrayAdapter.html

http://developer.android.com/reference/android/widget/BaseAdapter.html http://developer.android.com/reference/android/widget/ArrayAdapter.html

<一个href=\"http://stackoverflow.com/questions/541966/android-how-do-i-do-a-lazy-load-of-images-in-listview\">Android - 如何做的ListView图像的延迟加载

良好做法是认为回收利用。

Good practice is view recycling.

这篇关于在Android的定制列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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