I\'m coding a custom adapter for a ListView that has a custom list to it.
obviously, I have to write the getView function. so here is my code:
getView
are you initializing inflater? if not initialize it.
inflater = getLayoutInflater();
or
inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);