In my application i used custom list view adapter. In the list view item i added another layout. because in my service one order have any number of order items. For showing
I had the same issue then below link resolved my problem ;
https://stackoverflow.com/a/36738935/3341089
Basically, you should specify your item types then reconfigure your adapter via getItemViewType(int position)
and getViewTypeCount()
override methods.
If you look into above link, you will get it.