I have added the azure mobile service component. I use a custom adapter to querry and display the data from the mobile service database table.
SalesAdapter : BaseAdapter<Sale>
I would like to populate two different list views on different fragments with the same adapter as they are showing the same object type, but I would like each list to use a different ListItem layout.
So basically I need the Adapter's GetView method to be able to differentiate which List is asking to be populated and according to that choose the right layout to inflate.
I can't figure how to do it. Appreciate the help.