I am implementing a ListFragment using a custom ArrayAdapter to populate the list. Each row item has an ImageView and three TextViews. Data is being parsed via XML and the i
Just add these lines of code in your adapter class.
@Override public int getViewTypeCount() { if (getCount() != 0) return getCount(); return 1; }
Hope it will solve your problem.