滚动型和ListView的区别 [英] Difference between ScrollView and ListView

查看:113
本文介绍了滚动型和ListView的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何一个可以解释滚动视图和列表视图之间的区别?当使用哪一个?哪一个更有效?

Can any one explain the difference between Scroll View and List View? When to use which one? And which one is more efficient?

推荐答案

滚动型用于将不同或相同的子视图或布局和所有可以滚动。

ScrollView is used to put different or same child views or layouts and the all can be scrolled.

的ListView 是用来放同一子视图或布局多个项目。所有这些项目都还滚动。

ListView is used to put same child view or layout as multiple items. All these items are also scrollable.

简单地滚动型是同构和异构集合。 ListView控件仅适用于同类集合。

Simply ScrollView is for both homogeneous and heterogeneous collection. ListView is for only homogeneous collection.

这篇关于滚动型和ListView的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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