Unable to use LayoutInflater in custom adapter
问题 I'm looking into writing a custom adapter to populate a listview with 3 textviews per line. I've found quite a bit of example code to do this, but the one that seemed the best was at: http://www.anddev.org/custom_widget_adapters-t1796.html After a few minor tweaks to fix some compiler issues with the latest Android SDK, I got it running, only to get the exception: ERROR/AndroidRuntime(281): java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView So