cleanAfterRefresh

fun cleanAfterRefresh(cleanAfterRefresh: Boolean): T(source)

Sets whether the components of the pagination should be invalidated after a refresh, enabling you to save memory when a new page is requested.

When enabled, if components are detected to be reused between two pages, then no cleanup will occur.

If disabled, all components are invalidated once the pagination expires.

The default value is set to Paginator.Defaults.cleanAfterRefresh.