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>>pagesprivate final ReorderPagesScreenConfigurationconfigprivate final ScanbotColorbottomBarBackgroundprivate final ScanbotColortopBarBackground
-
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 ReorderPagesScreenConfigurationgetConfig()final ScanbotColorgetBottomBarBackground()final ScanbotColorgetTopBarBackground()final UnitonPagePositionChanged(Integer oldPosition, Integer newPosition)final UnitonSave()-
-
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)
-
-
-
-