Interface IBatchBarcodeListView.ViewModel
-
- All Implemented Interfaces:
public interface IBatchBarcodeListView.ViewModel
Notified about user interactions.
-
-
Method Summary
Modifier and Type Method Description abstract Unit
submitButtonClick()
User wants to finish the flow. abstract Unit
deleteScannedBarcode(BarcodeItem barcodeItem)
User wants to delete scanned item. abstract Unit
clearClick()
User wants to clear the list of items. abstract Unit
detailsOpened()
User opened the details screen. abstract Unit
detailsClosed()
User closed the details screen. abstract Unit
onFinishCurrentState()
Triggered when the signal to finish was received from outside. abstract Unit
setBarcodeFilter(IBarcodeFilter barcodeFilter)
Set the instance of IBarcodeFilter
implementation to filter accepted scanned barcodesabstract Unit
onBarcodeSelected(List<BarcodeItem> selected, Boolean automaticSelection)
When user clicked on a specific barcode on the Barcode selection overlay abstract Unit
setSelectionLayerEnabled(Boolean enabled)
Enables or disables barcode selection overlay layer abstract <Error class: unknown class><List<BarcodeItem>>
getBarcodes()
abstract BarcodePolygonsView.BarcodeHighlightDelegate
getHighlightDelegate()
Set this delegate to the barcode selection overlay -
-
Method Detail
-
submitButtonClick
abstract Unit submitButtonClick()
User wants to finish the flow.
-
deleteScannedBarcode
abstract Unit deleteScannedBarcode(BarcodeItem barcodeItem)
User wants to delete scanned item.
-
clearClick
abstract Unit clearClick()
User wants to clear the list of items.
-
detailsOpened
abstract Unit detailsOpened()
User opened the details screen.
-
detailsClosed
abstract Unit detailsClosed()
User closed the details screen.
-
onFinishCurrentState
abstract Unit onFinishCurrentState()
Triggered when the signal to finish was received from outside.
-
setBarcodeFilter
abstract Unit setBarcodeFilter(IBarcodeFilter barcodeFilter)
Set the instance of
IBarcodeFilter
implementation to filter accepted scanned barcodes
-
onBarcodeSelected
abstract Unit onBarcodeSelected(List<BarcodeItem> selected, Boolean automaticSelection)
When user clicked on a specific barcode on the Barcode selection overlay
-
setSelectionLayerEnabled
abstract Unit setSelectionLayerEnabled(Boolean enabled)
Enables or disables barcode selection overlay layer
-
getBarcodes
abstract <Error class: unknown class><List<BarcodeItem>> getBarcodes()
-
getHighlightDelegate
abstract BarcodePolygonsView.BarcodeHighlightDelegate getHighlightDelegate()
Set this delegate to the barcode selection overlay
-
-
-
-