Difference between ScrollView and ListView

Farooq Arshed picture Farooq Arshed · Mar 22, 2012 · Viewed 26.9k times · Source

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

Answer

Yugandhar Babu picture Yugandhar Babu · Mar 22, 2012

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

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

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