I've got a strange situation here.
There's a list view with a custom adapter. The view has a few different item types which are correctly used in getViewItemType
. On just about every device and supported OS the getView
method in the adapter is called without any weird behavior.
I know getView
can be called many times and that isn't the issue. On a Nexus 5 and Nexus 6, however, getView is called twice for the same item type and passes a convertView
of null
.
The result is we end up creating two views for the same row in the list. It seems that one will actually get attached or added to the listview while the other isn't.
Any suggestions, or tips that might be causing this?