Class ReorderViewModel
-
- All Implemented Interfaces:
public final class ReorderViewModel
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class><List<ReorderedPage>>
pages
private final ReorderPagesScreenConfiguration
config
private final ScanbotColor
bottomBarBackground
private final ScanbotColor
topBarBackground
-
Constructor Summary
Constructors Constructor Description ReorderViewModel(ReorderPagesScreenConfiguration config, ScanbotColor bottomBarBackground, ScanbotColor topBarBackground, IReorderViewModel cameraSession, CoroutineContext backgroundDispatcher)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class><List<ReorderedPage>>
getPages()
final ReorderPagesScreenConfiguration
getConfig()
final ScanbotColor
getBottomBarBackground()
final ScanbotColor
getTopBarBackground()
final Unit
onPagePositionChanged(Integer oldPosition, Integer newPosition)
final Unit
onSave()
-
-
Constructor Detail
-
ReorderViewModel
ReorderViewModel(ReorderPagesScreenConfiguration config, ScanbotColor bottomBarBackground, ScanbotColor topBarBackground, IReorderViewModel cameraSession, CoroutineContext backgroundDispatcher)
-
-
Method Detail
-
getPages
final <Error class: unknown class><List<ReorderedPage>> getPages()
-
getConfig
final ReorderPagesScreenConfiguration getConfig()
-
getBottomBarBackground
final ScanbotColor getBottomBarBackground()
-
getTopBarBackground
final ScanbotColor getTopBarBackground()
-
onPagePositionChanged
final Unit onPagePositionChanged(Integer oldPosition, Integer newPosition)
-
-
-
-