PagesPerScreen

class PagesPerScreen(val amount: Int) : PageSize

Defines a PageSize that shows amount pages on the screen at all times. The size of pages will be changed to always show amount pages.

Constructors

Link copied to clipboard
constructor(amount: Int)

Properties

Link copied to clipboard
val amount: Int

Functions

Link copied to clipboard
open override fun Density.calculateMainAxisPageSize(availableSpace: Int, pageSpacing: Int): Int