From 23177464eca88fad59ab91d3fbadc9651675dff2 Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Wed, 18 Apr 2018 17:14:34 -0700 Subject: [PATCH] Fix name collision --- Ooui.Forms/Cells/CellView.cs | 4 ++-- Ooui.Forms/Cells/TextCellRenderer.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Ooui.Forms/Cells/CellView.cs b/Ooui.Forms/Cells/CellView.cs index e4c72be..8034ccb 100644 --- a/Ooui.Forms/Cells/CellView.cs +++ b/Ooui.Forms/Cells/CellView.cs @@ -8,7 +8,7 @@ namespace Ooui.Forms.Cells { private Cell _cell; - public Action PropertyChanged; + public Action ForwardPropertyChanged; public CellView() { @@ -51,7 +51,7 @@ namespace Ooui.Forms.Cells public void HandlePropertyChanged(object sender, PropertyChangedEventArgs e) { - PropertyChanged?.Invoke(this, e); + ForwardPropertyChanged?.Invoke(this, e); } private void CreateUI() diff --git a/Ooui.Forms/Cells/TextCellRenderer.cs b/Ooui.Forms/Cells/TextCellRenderer.cs index 2e43a9e..55daab5 100644 --- a/Ooui.Forms/Cells/TextCellRenderer.cs +++ b/Ooui.Forms/Cells/TextCellRenderer.cs @@ -16,7 +16,7 @@ namespace Ooui.Forms.Cells nativeTextCell.Cell = textCell; textCell.PropertyChanged += nativeTextCell.HandlePropertyChanged; - nativeTextCell.PropertyChanged = HandlePropertyChanged; + nativeTextCell.ForwardPropertyChanged = HandlePropertyChanged; nativeTextCell.TextLabel.Text = textCell.Text ?? string.Empty; nativeTextCell.DetailTextLabel.Text = textCell.Detail ?? string.Empty;