Last Updated: February 25, 2016
·
841
· jonaldomo

Android ListView ArrayAdapter getView() not adhering to xml?

Don't forget to pass the parent ViewGroup in. It is common to see null being passed in, don't do that.

<i>view = inflater.inflate(R.layout.row, parent, false);</i>