diff --git a/build/AndroidWorkarounds.props b/build/AndroidWorkarounds.props
index 8a5c18e1ae..67947296b3 100644
--- a/build/AndroidWorkarounds.props
+++ b/build/AndroidWorkarounds.props
@@ -5,4 +5,12 @@
+
+
+
+
+
+
+ false
+
diff --git a/src/Avalonia.Base/Data/Core/AvaloniaPropertyAccessorNode.cs b/src/Avalonia.Base/Data/Core/AvaloniaPropertyAccessorNode.cs
index 28c0dce518..0a33eeb2c1 100644
--- a/src/Avalonia.Base/Data/Core/AvaloniaPropertyAccessorNode.cs
+++ b/src/Avalonia.Base/Data/Core/AvaloniaPropertyAccessorNode.cs
@@ -24,7 +24,7 @@ namespace Avalonia.Data.Core
{
try
{
- if (Target.IsAlive && Target.Target is IAvaloniaObject obj)
+ if (Target.TryGetTarget(out object target) && target is IAvaloniaObject obj)
{
obj.SetValue(_property, value, priority);
return true;
@@ -37,9 +37,9 @@ namespace Avalonia.Data.Core
}
}
- protected override void StartListeningCore(WeakReference reference)
+ protected override void StartListeningCore(WeakReference