notifyOverlayViewsChanged

Notifies all registered OverlayViewProviderObserver instances that the views have changed and need to be removed and added again. If only views for a single page have changed, consider calling notifyOverlayViewsChanged instead.

Call this when the set of views has changed, if you only want to change the positioning of the the views simply update their OverlayLayoutParams.


open fun notifyOverlayViewsChanged(@IntRange(from = 0) pageIndex: Int)

Notifies all registered OverlayViewProviderObserver instances that the views for the given pageIndex have changed and need to be removed and added again.

Call this when the set of views has changed, if you only want to change the positioning of the the views simply update their OverlayLayoutParams.

Parameters

pageIndex

Number of the page on which views have changed.