Paged

constructor(orientation: Orientation = Orientation.Horizontal, offscreenPages: Int = 1)

Parameters

offscreenPages

pages kept composed (and rastered) on each side of the visible one — trade memory for instant page turns. Defaults to 1 so the immediate neighbours are pre-rasterized while idle and a swipe never waits on a render; raise it to cover faster flinging, set 0 to minimise memory at the cost of a first-swipe render.