Fix name collision

This commit is contained in:
Frank A. Krueger 2018-04-18 17:14:34 -07:00
parent ac41e017d8
commit 23177464ec
No known key found for this signature in database
GPG Key ID: 0471C67474FFE664
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ namespace Ooui.Forms.Cells
{ {
private Cell _cell; private Cell _cell;
public Action<object, PropertyChangedEventArgs> PropertyChanged; public Action<object, PropertyChangedEventArgs> ForwardPropertyChanged;
public CellView() public CellView()
{ {
@ -51,7 +51,7 @@ namespace Ooui.Forms.Cells
public void HandlePropertyChanged(object sender, PropertyChangedEventArgs e) public void HandlePropertyChanged(object sender, PropertyChangedEventArgs e)
{ {
PropertyChanged?.Invoke(this, e); ForwardPropertyChanged?.Invoke(this, e);
} }
private void CreateUI() private void CreateUI()

View File

@ -16,7 +16,7 @@ namespace Ooui.Forms.Cells
nativeTextCell.Cell = textCell; nativeTextCell.Cell = textCell;
textCell.PropertyChanged += nativeTextCell.HandlePropertyChanged; textCell.PropertyChanged += nativeTextCell.HandlePropertyChanged;
nativeTextCell.PropertyChanged = HandlePropertyChanged; nativeTextCell.ForwardPropertyChanged = HandlePropertyChanged;
nativeTextCell.TextLabel.Text = textCell.Text ?? string.Empty; nativeTextCell.TextLabel.Text = textCell.Text ?? string.Empty;
nativeTextCell.DetailTextLabel.Text = textCell.Detail ?? string.Empty; nativeTextCell.DetailTextLabel.Text = textCell.Detail ?? string.Empty;