summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.MacOS/Cells
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.MacOS/Cells')
-rw-r--r--Xamarin.Forms.Platform.MacOS/Cells/CellNSView.cs2
-rw-r--r--Xamarin.Forms.Platform.MacOS/Cells/ImageCellRenderer.cs2
-rw-r--r--Xamarin.Forms.Platform.MacOS/Cells/ViewCellNSView.cs2
3 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.MacOS/Cells/CellNSView.cs b/Xamarin.Forms.Platform.MacOS/Cells/CellNSView.cs
index 08043ce..f0a9d0f 100644
--- a/Xamarin.Forms.Platform.MacOS/Cells/CellNSView.cs
+++ b/Xamarin.Forms.Platform.MacOS/Cells/CellNSView.cs
@@ -124,7 +124,7 @@ namespace Xamarin.Forms.Platform.MacOS
NSView nativeCell;
if (reusable == null || !isRecycle)
{
- var renderer = (CellRenderer)Registrar.Registered.GetHandler(cell.GetType());
+ var renderer = (CellRenderer)Internals.Registrar.Registered.GetHandler<IRegisterable>(cell.GetType());
nativeCell = renderer.GetCell(cell, null, tableView);
}
else
diff --git a/Xamarin.Forms.Platform.MacOS/Cells/ImageCellRenderer.cs b/Xamarin.Forms.Platform.MacOS/Cells/ImageCellRenderer.cs
index 8bd7677..1986ebb 100644
--- a/Xamarin.Forms.Platform.MacOS/Cells/ImageCellRenderer.cs
+++ b/Xamarin.Forms.Platform.MacOS/Cells/ImageCellRenderer.cs
@@ -43,7 +43,7 @@ namespace Xamarin.Forms.Platform.MacOS
IImageSourceHandler handler;
- if (source != null && (handler = Registrar.Registered.GetHandler<IImageSourceHandler>(source.GetType())) != null)
+ if (source != null && (handler = Internals.Registrar.Registered.GetHandler<IImageSourceHandler>(source.GetType())) != null)
{
NSImage uiimage;
try
diff --git a/Xamarin.Forms.Platform.MacOS/Cells/ViewCellNSView.cs b/Xamarin.Forms.Platform.MacOS/Cells/ViewCellNSView.cs
index 6b342c2..f249874 100644
--- a/Xamarin.Forms.Platform.MacOS/Cells/ViewCellNSView.cs
+++ b/Xamarin.Forms.Platform.MacOS/Cells/ViewCellNSView.cs
@@ -92,7 +92,7 @@ namespace Xamarin.Forms.Platform.MacOS
if (renderer.Element != null && renderer == Platform.GetRenderer(renderer.Element))
renderer.Element.ClearValue(Platform.RendererProperty);
- var type = Registrar.Registered.GetHandlerType(_viewCell.View.GetType());
+ var type = Internals.Registrar.Registered.GetHandlerType(_viewCell.View.GetType());
if (renderer.GetType() == type || (renderer is DefaultRenderer && type == null))
renderer.SetElement(_viewCell.View);
else