I found out that creating an ArrayAdapter
in the format above does not allow you to input more than one set of data to the Adapter
. For instance, I can only use my list of Drawer Navigation names contained in the Array<String>
: mDrawerItems. To pass Icons and other data to the adapter, I have two option:
Simple Adapter
used with aMap
, orCustom Adapter.
Examples of both can be found here: http://www.vogella.com/articles/AndroidListView/article.html, and here:
http://www.shenhengbin.wordpress.com/2012/03/17/listview-simpleadapter/