Custom rows in ListView with custom Adapter
问题 I made the following adapter which I used before to create rows that are the same all the time. I removed the creation of the textviews and imageviews. What I want to achieve is to create different rows depending on the key. A row could contain text and an image while another row only has text. How would I be able to do that? public class DetailsListAdapter extends ArrayAdapter<ArrayList<String>> { private Context context; private ArrayList<String> keys; public DetailsListAdapter(Context