public View GetInfoWindow(Marker marker) { if (marker == null) { return(null); } //update everytime, drawcircle need it selectedCoordinates = new GeofenceModel { LatLng = new LatLng(marker.Position.Latitude, marker.Position.Longitude) }; View mapInfoView = activity.LayoutInflater.Inflate(Resource.Layout.map_info_view, null); var radiusBar = activity.FindViewById <SeekBar>(Resource.Id.radiusBar); if (radiusBar.Visibility == Android.Views.ViewStates.Invisible) { radiusBar.Visibility = Android.Views.ViewStates.Visible; radiusBar.SetProgress(30, true); } activity.FindViewById <SeekBar>(Resource.Id.radiusBar)?.SetProgress(30, true); activity.DrawCircleOnMap(selectedCoordinates); Button button = mapInfoView.FindViewById <Button>(Resource.Id.btnInfoWindow); button.Click += btnInfoWindow_ClickAsync; return(mapInfoView); }