public static void UpdateContent(this MauiScrollView scrollView, IView?content, IMauiContext context) { var nativeContent = content == null ? null : content.ToNative(context); scrollView.RemoveAllViews(); if (nativeContent != null) { scrollView.SetContent(nativeContent); } }
public MauiHorizontalScrollView(Context?context, MauiScrollView parentScrollView) : base(context) { _parentScrollView = parentScrollView; }