Skip to content

Commit

Permalink
Fix CI (#9682)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Aug 26, 2022
1 parent f2ae851 commit 99d99c1
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/Core/maps/src/Handlers/Map/IMapHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface IMapHandler : IViewHandler
new IMap VirtualView { get; }
new PlatformView PlatformView { get; }
#if MONOANDROID
GoogleMap? Map { get; set; }
GoogleMap? Map { get; }
#endif
void UpdateMapElement(IMapElement element);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Core/maps/src/Handlers/Map/MapHandler.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public partial class MapHandler : ViewHandler<IMap, MapView>
List<APolygon>? _polygons;
List<ACircle>? _circles;

public GoogleMap? Map { get; set; }
public GoogleMap? Map { get; private set; }

static Bundle? s_bundle;

Expand Down
5 changes: 3 additions & 2 deletions src/Core/maps/src/Handlers/Map/MapHandler.Tizen.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
using System;
using Microsoft.Maui.Handlers;
using NView = Tizen.NUI.BaseComponents.View;

namespace Microsoft.Maui.Maps.Handlers
{
public partial class MapHandler : ViewHandler<IMap, Tizen.NUI.BaseComponents.View>
public partial class MapHandler : ViewHandler<IMap, NView>
{

protected override Tizen.NUI.BaseComponents.View CreatePlatformView() => throw new NotImplementedException();
protected override NView CreatePlatformView() => throw new NotImplementedException();

public static void MapMapType(IMapHandler handler, IMap map) => throw new NotImplementedException();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#elif WINDOWS
using PlatformView = System.Object;
#elif TIZEN
using PlatformView = Tizen.NUI.BaseComponents.View;
using PlatformView = System.Object;
#elif (NETSTANDARD || !PLATFORM) || (NET6_0 && !IOS && !ANDROID && !TIZEN)
using PlatformView = System.Object;
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.Maui.Handlers;
namespace Microsoft.Maui.Maps.Handlers
{
public partial class MapElementHandler : ElementHandler<IMapElement, Tizen.NUI.BaseComponents.View>
public partial class MapElementHandler : ElementHandler<IMapElement, object>
{
protected override Tizen.NUI.BaseComponents.View CreatePlatformElement() => throw new System.NotImplementedException();
protected override object CreatePlatformElement() => throw new System.NotImplementedException();
public static void MapStroke(IMapElementHandler handler, IMapElement mapElement) => throw new System.NotImplementedException();
public static void MapStrokeThickness(IMapElementHandler handler, IMapElement mapElement) => throw new System.NotImplementedException();
public static void MapFill(IMapElementHandler handler, IMapElement mapElement) => throw new System.NotImplementedException();
Expand Down
2 changes: 1 addition & 1 deletion src/Core/maps/src/Handlers/MapElement/MapElementHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#elif WINDOWS
using PlatformView = System.Object;
#elif TIZEN
using PlatformView = Tizen.NUI.BaseComponents.View;
using PlatformView = System.Object;
#elif (NETSTANDARD || !PLATFORM) || (NET6_0 && !IOS && !ANDROID && !TIZEN)
using PlatformView = System.Object;
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Core/maps/src/Handlers/MapPin/IMapPinHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#elif WINDOWS
using PlatformView = System.Object;
#elif TIZEN
using PlatformView = Tizen.NUI.BaseComponents.View;
using PlatformView = System.Object;
#elif (NETSTANDARD || !PLATFORM) || (NET6_0 && !IOS && !ANDROID && !TIZEN)
using PlatformView = System.Object;
#endif
Expand Down
4 changes: 2 additions & 2 deletions src/Core/maps/src/Handlers/MapPin/MapPinHandler.Tizen.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.Maui.Handlers;
namespace Microsoft.Maui.Maps.Handlers
{
public partial class MapPinHandler : ElementHandler<IMapPin, Tizen.NUI.BaseComponents.View>
public partial class MapPinHandler : ElementHandler<IMapPin, object>
{
protected override Tizen.NUI.BaseComponents.View CreatePlatformElement() => throw new System.NotImplementedException();
protected override object CreatePlatformElement() => throw new System.NotImplementedException();
public static void MapLocation(IMapPinHandler handler, IMapPin mapPin) { }

public static void MapLabel(IMapPinHandler handler, IMapPin mapPin) { }
Expand Down
2 changes: 1 addition & 1 deletion src/Core/maps/src/Handlers/MapPin/MapPinHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#elif WINDOWS
using PlatformView = System.Object;
#elif TIZEN
using PlatformView = Tizen.NUI.BaseComponents.View;
using PlatformView = System.Object;
#elif (NETSTANDARD || !PLATFORM) || (NET6_0 && !IOS && !ANDROID && !TIZEN)
using PlatformView = System.Object;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Microsoft.Maui.Maps.Handlers.IMapElementHandler.PlatformView.get -> Java.Lang.Ob
Microsoft.Maui.Maps.Handlers.IMapElementHandler.VirtualView.get -> Microsoft.Maui.Maps.IMapElement!
Microsoft.Maui.Maps.Handlers.IMapHandler
Microsoft.Maui.Maps.Handlers.IMapHandler.Map.get -> Android.Gms.Maps.GoogleMap?
Microsoft.Maui.Maps.Handlers.IMapHandler.Map.set -> void
Microsoft.Maui.Maps.Handlers.IMapHandler.PlatformView.get -> Android.Gms.Maps.MapView!
Microsoft.Maui.Maps.Handlers.IMapHandler.UpdateMapElement(Microsoft.Maui.Maps.IMapElement! element) -> void
Microsoft.Maui.Maps.Handlers.IMapHandler.VirtualView.get -> Microsoft.Maui.Maps.IMap!
Expand All @@ -33,7 +32,6 @@ Microsoft.Maui.Maps.Handlers.MapHandler.GetNativePolygon(Microsoft.Maui.Maps.IGe
Microsoft.Maui.Maps.Handlers.MapHandler.GetNativePolyline(Microsoft.Maui.Maps.IGeoPathMapElement! polyline) -> Android.Gms.Maps.Model.Polyline?
Microsoft.Maui.Maps.Handlers.MapHandler.GetPinForMarker(Android.Gms.Maps.Model.Marker! marker) -> Microsoft.Maui.Maps.IMapPin?
Microsoft.Maui.Maps.Handlers.MapHandler.Map.get -> Android.Gms.Maps.GoogleMap?
Microsoft.Maui.Maps.Handlers.MapHandler.Map.set -> void
Microsoft.Maui.Maps.Handlers.MapHandler.MapHandler() -> void
Microsoft.Maui.Maps.Handlers.MapHandler.MapHandler(Microsoft.Maui.IPropertyMapper? mapper = null, Microsoft.Maui.CommandMapper? commandMapper = null) -> void
Microsoft.Maui.Maps.Handlers.MapHandler.UpdateMapElement(Microsoft.Maui.Maps.IMapElement! element) -> void
Expand Down
14 changes: 7 additions & 7 deletions src/Core/maps/src/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Microsoft.Maui.Maps.Distance.Meters.get -> double
Microsoft.Maui.Maps.Distance.Miles.get -> double
Microsoft.Maui.Maps.GeographyUtils
Microsoft.Maui.Maps.Handlers.IMapElementHandler
Microsoft.Maui.Maps.Handlers.IMapElementHandler.PlatformView.get -> Tizen.NUI.BaseComponents.View!
Microsoft.Maui.Maps.Handlers.IMapElementHandler.PlatformView.get -> object!
Microsoft.Maui.Maps.Handlers.IMapElementHandler.VirtualView.get -> Microsoft.Maui.Maps.IMapElement!
Microsoft.Maui.Maps.Handlers.IMapHandler
Microsoft.Maui.Maps.Handlers.IMapHandler.PlatformView.get -> Tizen.NUI.BaseComponents.View!
Microsoft.Maui.Maps.Handlers.IMapHandler.UpdateMapElement(Microsoft.Maui.Maps.IMapElement! element) -> void
Microsoft.Maui.Maps.Handlers.IMapHandler.VirtualView.get -> Microsoft.Maui.Maps.IMap!
Microsoft.Maui.Maps.Handlers.IMapPinHandler
Microsoft.Maui.Maps.Handlers.IMapPinHandler.PlatformView.get -> Tizen.NUI.BaseComponents.View!
Microsoft.Maui.Maps.Handlers.IMapPinHandler.PlatformView.get -> object!
Microsoft.Maui.Maps.Handlers.IMapPinHandler.VirtualView.get -> Microsoft.Maui.Maps.IMapPin!
Microsoft.Maui.Maps.Handlers.MapElementHandler
Microsoft.Maui.Maps.Handlers.MapElementHandler.MapElementHandler() -> void
Expand Down Expand Up @@ -43,9 +43,9 @@ Microsoft.Maui.Maps.IMap
Microsoft.Maui.Maps.IMap.Clicked(Microsoft.Maui.Devices.Sensors.Location! position) -> void
Microsoft.Maui.Maps.IMap.Elements.get -> System.Collections.Generic.IList<Microsoft.Maui.Maps.IMapElement!>!
Microsoft.Maui.Maps.IMap.IsScrollEnabled.get -> bool
Microsoft.Maui.Maps.IMap.IsShowingUser.get -> bool
Microsoft.Maui.Maps.IMap.IsTrafficEnabled.get -> bool
Microsoft.Maui.Maps.IMap.IsZoomEnabled.get -> bool
Microsoft.Maui.Maps.IMap.IsShowingUser.get -> bool
Microsoft.Maui.Maps.IMap.MapType.get -> Microsoft.Maui.Maps.MapType
Microsoft.Maui.Maps.IMap.MoveToRegion(Microsoft.Maui.Maps.MapSpan! region) -> void
Microsoft.Maui.Maps.IMap.Pins.get -> System.Collections.Generic.IList<Microsoft.Maui.Maps.IMapPin!>!
Expand Down Expand Up @@ -76,9 +76,9 @@ Microsoft.Maui.Maps.MapType.Satellite = 1 -> Microsoft.Maui.Maps.MapType
Microsoft.Maui.Maps.MapType.Street = 0 -> Microsoft.Maui.Maps.MapType
override Microsoft.Maui.Maps.Distance.Equals(object? obj) -> bool
override Microsoft.Maui.Maps.Distance.GetHashCode() -> int
override Microsoft.Maui.Maps.Handlers.MapElementHandler.CreatePlatformElement() -> Tizen.NUI.BaseComponents.View!
override Microsoft.Maui.Maps.Handlers.MapElementHandler.CreatePlatformElement() -> object!
override Microsoft.Maui.Maps.Handlers.MapHandler.CreatePlatformView() -> Tizen.NUI.BaseComponents.View!
override Microsoft.Maui.Maps.Handlers.MapPinHandler.CreatePlatformElement() -> Tizen.NUI.BaseComponents.View!
override Microsoft.Maui.Maps.Handlers.MapPinHandler.CreatePlatformElement() -> object!
override Microsoft.Maui.Maps.MapSpan.Equals(object? obj) -> bool
override Microsoft.Maui.Maps.MapSpan.GetHashCode() -> int
override Microsoft.Maui.Maps.MapSpan.ToString() -> string!
Expand All @@ -98,9 +98,9 @@ static Microsoft.Maui.Maps.Handlers.MapElementHandler.MapStrokeThickness(Microso
static Microsoft.Maui.Maps.Handlers.MapHandler.CommandMapper -> Microsoft.Maui.CommandMapper<Microsoft.Maui.Maps.IMap!, Microsoft.Maui.Maps.Handlers.IMapHandler!>!
static Microsoft.Maui.Maps.Handlers.MapHandler.MapElements(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.MapIsScrollEnabled(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.MapIsShowingUser(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.MapIsTrafficEnabled(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.MapIsZoomEnabled(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.MapIsShowingUser(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.MapMapType(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.MapMoveToRegion(Microsoft.Maui.Maps.Handlers.IMapHandler! handler, Microsoft.Maui.Maps.IMap! map, object? arg) -> void
static Microsoft.Maui.Maps.Handlers.MapHandler.Mapper -> Microsoft.Maui.IPropertyMapper<Microsoft.Maui.Maps.IMap!, Microsoft.Maui.Maps.Handlers.IMapHandler!>!
Expand All @@ -112,4 +112,4 @@ static Microsoft.Maui.Maps.Handlers.MapPinHandler.MapLocation(Microsoft.Maui.Map
static Microsoft.Maui.Maps.Handlers.MapPinHandler.Mapper -> Microsoft.Maui.IPropertyMapper<Microsoft.Maui.Maps.IMapPin!, Microsoft.Maui.Maps.Handlers.IMapPinHandler!>!
static Microsoft.Maui.Maps.MapSpan.FromCenterAndRadius(Microsoft.Maui.Devices.Sensors.Location! center, Microsoft.Maui.Maps.Distance radius) -> Microsoft.Maui.Maps.MapSpan!
static Microsoft.Maui.Maps.MapSpan.operator !=(Microsoft.Maui.Maps.MapSpan? left, Microsoft.Maui.Maps.MapSpan? right) -> bool
static Microsoft.Maui.Maps.MapSpan.operator ==(Microsoft.Maui.Maps.MapSpan? left, Microsoft.Maui.Maps.MapSpan? right) -> bool
static Microsoft.Maui.Maps.MapSpan.operator ==(Microsoft.Maui.Maps.MapSpan? left, Microsoft.Maui.Maps.MapSpan? right) -> bool

0 comments on commit 99d99c1

Please sign in to comment.