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
Post a Comment