Reactive Android Development CS 4593-02T & CS 5463-01T Summer 2016 ListView
ListView Easily added to your activity's layout with <ListView android:id="@+id/list_view" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
ListView But how do we add and remove items from the list?
ListView But how do we add and remove items from the list? With difficulty!
ListView But how do we add and remove items from the list? With difficulty! Well, sometimes…
ListView:Adapters Something has to bridge the gap between a data structure and the view
ListView:Adapters ArrayAdapter is a pretty good starting point
ListView:Adapters ArrayAdapter is a pretty good starting point By default, it works with strings Or objects that implement toString()
ListView:Adapters If you want to customize the view Override the getView method Which we will discuss next time!