What is the difference between Spinner and ListView?

Viewed 13275

Both have a data source (or adapter). It appeared to me that Spinner can be shown in drop-down form, while ListView can show all data on the view directly. The data for both are all from an ArrayList. They could be in String type like this:

<string-array name="Cities">
    <item >Beijing</item>
    <item >Tokoy</item>
    <item >New York</item>
    <item >London</item>
    <item >Paris</item>
    <item >Berlin</item>
    <item >Moscow</item>
    <item >Hongkong</item>
</string-array>

What are their differences?

1 Answers
Related