1

Android Custom List, Unexpectedly close application

view story
linux-howto

http://stackoverflow.com – I am using the following code to to display data in my custom list. but it closes with an exception of unsupported operaton. java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView public class VerifiedProblemsActivity extends Activity { ArrayList<Problem> problemsList; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); Log.d("IN VERIFIED ACTIVITY", "ACTIVITY"); setContentView(R.layout.verified_problems); Lis (HowTos)