getPageIndexForPageLabel

abstract fun getPageIndexForPageLabel(@NonNull pageLabel: String, partialMatching: Boolean): Integer

Gets the page index for the given page label.

Return

The index of the page with the page label or null.

Parameters

pageLabel

The page label to search for.

partialMatching

If false, the exact string will be searched for. Otherwise we will return the best match.