Fix name collision
This commit is contained in:
parent
ac41e017d8
commit
23177464ec
|
@ -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()
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue