diff --git a/src/Controls/samples/Controls.Sample.Embedding/Platforms/Android/FirstFragment.cs b/src/Controls/samples/Controls.Sample.Embedding/Platforms/Android/FirstFragment.cs index 33c949447ada..ad03de135b6a 100644 --- a/src/Controls/samples/Controls.Sample.Embedding/Platforms/Android/FirstFragment.cs +++ b/src/Controls/samples/Controls.Sample.Embedding/Platforms/Android/FirstFragment.cs @@ -11,6 +11,10 @@ namespace Maui.Controls.Sample.Droid; [Register("com.microsoft.maui.sample.emdedding." + nameof(FirstFragment))] public class FirstFragment : Fragment { + EmbeddingScenarios.IScenario? _scenario; + MyMauiContent? _mauiView; + Android.Views.View? _nativeView; + public override View? OnCreateView(LayoutInflater inflater, ViewGroup? container, Bundle? savedInstanceState) => inflater.Inflate(Resource.Layout.fragment_first, container, false); @@ -26,14 +30,43 @@ public override void OnViewCreated(View view, Bundle? savedInstanceState) var button3 = view.FindViewById