I am using Google Maps API v2 for Android, And I have used Marker class to add a marker to the map fragment like this:
Marker
map.addMarker(new Marker
If someone reads this post 2017:
Another reason a view is empty might be a restriction to
singleLine = true
at some point, e.g. your getInfoContents() implementation
getInfoContents()