getSiblingPageIndex

@IntRange(from = "-1")
open fun getSiblingPageIndex(@IntRange(from = 0) pageIndex: Int): Int

Gets page sibling index (usable in double page mode).

Return

Provided page sibling, or -1 if there is none.

Parameters

pageIndex

Index of the page for which we look for the sibling.