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 -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -