Populate list of custom view using ListFragment
I solved my problem (as system32 suggests on comment) creating a CustomArrayAdapter class, and setting it as the adapter for my listView. First I changed android:id=”@+id/listView1″ to android:id=”@android:id/list” in fragment.xml. CustomArrayAdapter.java public class CustomArrayAdapter extends ArrayAdapter<Menu> { Context context; public CustomArrayAdapter(Context context, int textViewResourceId, List<Menu> objects) { super(context, textViewResourceId, objects); // TODO Auto-generated constructor stub … Read more