Table of Contents

Interface IVirtualScrollController

Namespace
Nalu
Assembly
Nalu.Maui.VirtualScroll.dll

Controller interface for VirtualScroll refresh and scroll functionality.

public interface IVirtualScrollController

Methods

Refresh(Action)

Refreshes the content. Called by the platform when the user triggers a refresh.

void Refresh(Action completionCallback)

Parameters

completionCallback Action

Callback to invoke when the refresh is complete.

Scrolled(double, double, double, double)

Called when the scroll position changes. Invoked by the handler when scrolling occurs.

void Scrolled(double scrollX, double scrollY, double totalScrollableWidth, double totalScrollableHeight)

Parameters

scrollX double

The current horizontal scroll position in device-independent units.

scrollY double

The current vertical scroll position in device-independent units.

totalScrollableWidth double

The total scrollable width in device-independent units.

totalScrollableHeight double

The total scrollable height in device-independent units.