android - How to make maps InfoWindowAdapter to set marker with model -


 googlemap.setinfowindowadapter(new googlemap.infowindowadapter() {                  @override                 public view getinfowindow(marker marker) {                     return null;                 }                  @override                 public view getinfocontents(marker marker) {                          layoutinflater inflater = (layoutinflater) getactivity().getsystemservice(context.layout_inflater_service);                         view infoview = inflater.inflate(r.layout.row_sightings, null);                         //showsightinginfowindow(infoview, (sighting) marker.getdata());                          return infoview;                     }             }); 

i tring not give option add data model object in this


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -