Class ReviewViewModel
-
- All Implemented Interfaces:
public final class ReviewViewModel
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class><Page>
zoomedPage
private final <Error class: unknown class><List<Page>>
pages
private final Integer
pagesCount
private final <Error class: unknown class><Integer>
currentPageIndex
private final <Error class: unknown class>
pagerVisible
private final <Error class: unknown class>
moreButtonVisible
private final <Error class: unknown class><ProgressType>
progressShowing
private final <Error class: unknown class><Unit>
rotatePageOnView
private final ReviewScreenConfiguration
config
private final Integer
pagesLimit
private final IReviewViewModel
scanSession
private final ScanbotColor
bottomBarBackground
private final ScanbotColor
topBarBackground
private final CoroutineContext
backgroundDispatcher
private final FileIOProcessor
fileIOProcessor
-
Constructor Summary
Constructors Constructor Description ReviewViewModel(ReviewScreenConfiguration config, Integer pagesLimit, IReviewViewModel scanSession, ScanbotColor bottomBarBackground, ScanbotColor topBarBackground, CoroutineContext backgroundDispatcher, FileIOProcessor fileIOProcessor, Bundle arguments)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class><Page>
getZoomedPage()
final <Error class: unknown class><List<Page>>
getPages()
final Integer
getPagesCount()
final <Error class: unknown class><Integer>
getCurrentPageIndex()
final <Error class: unknown class>
getPagerVisible()
final <Error class: unknown class>
getMoreButtonVisible()
final <Error class: unknown class><ProgressType>
getProgressShowing()
final <Error class: unknown class><Unit>
getRotatePageOnView()
final ReviewScreenConfiguration
getConfig()
final Integer
getPagesLimit()
final IReviewViewModel
getScanSession()
final ScanbotColor
getBottomBarBackground()
final ScanbotColor
getTopBarBackground()
final CoroutineContext
getBackgroundDispatcher()
final FileIOProcessor
getFileIOProcessor()
final Unit
onUiAction(ReviewUiAction action)
-
-
Constructor Detail
-
ReviewViewModel
ReviewViewModel(ReviewScreenConfiguration config, Integer pagesLimit, IReviewViewModel scanSession, ScanbotColor bottomBarBackground, ScanbotColor topBarBackground, CoroutineContext backgroundDispatcher, FileIOProcessor fileIOProcessor, Bundle arguments)
-
-
Method Detail
-
getZoomedPage
final <Error class: unknown class><Page> getZoomedPage()
-
getPagesCount
final Integer getPagesCount()
-
getCurrentPageIndex
final <Error class: unknown class><Integer> getCurrentPageIndex()
-
getPagerVisible
final <Error class: unknown class> getPagerVisible()
-
getMoreButtonVisible
final <Error class: unknown class> getMoreButtonVisible()
-
getProgressShowing
final <Error class: unknown class><ProgressType> getProgressShowing()
-
getRotatePageOnView
final <Error class: unknown class><Unit> getRotatePageOnView()
-
getConfig
final ReviewScreenConfiguration getConfig()
-
getPagesLimit
final Integer getPagesLimit()
-
getScanSession
final IReviewViewModel getScanSession()
-
getBottomBarBackground
final ScanbotColor getBottomBarBackground()
-
getTopBarBackground
final ScanbotColor getTopBarBackground()
-
getBackgroundDispatcher
final CoroutineContext getBackgroundDispatcher()
-
getFileIOProcessor
final FileIOProcessor getFileIOProcessor()
-
onUiAction
final Unit onUiAction(ReviewUiAction action)
-
-
-
-