Class GenericDocumentFieldListView
-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback
,android.view.KeyEvent.Callback
,android.view.ViewManager
,android.view.ViewParent
,android.view.accessibility.AccessibilityEventSource
,io.scanbot.sdk.ui.view.genericdocument.list.IGenericDocumentFieldListView
public final class GenericDocumentFieldListView extends FrameLayout implements IGenericDocumentFieldListView
Represents a list of scanned field of the document
-
-
Constructor Summary
Constructors Constructor Description GenericDocumentFieldListView(Context context, AttributeSet attrs)
-
Method Summary
Modifier and Type Method Description Unit
attachViewModel(IGenericDocumentFieldListView.ViewModel viewModel)
final Unit
setBottomSheetBackgroundColor(Integer color)
Sets a color of the bottom sheet final Unit
setBottomSheetPrimaryColor(Integer color)
Sets primary color for most of text's and other UI elements of the bottom sheet final Boolean
onBackPressed()
Processing back press and collapsing bottom sheet if needed -
-
Constructor Detail
-
GenericDocumentFieldListView
GenericDocumentFieldListView(Context context, AttributeSet attrs)
-
-
Method Detail
-
attachViewModel
Unit attachViewModel(IGenericDocumentFieldListView.ViewModel viewModel)
- Parameters:
viewModel
- which will receive callbacks on user interactions.
-
setBottomSheetBackgroundColor
final Unit setBottomSheetBackgroundColor(Integer color)
Sets a color of the bottom sheet
-
setBottomSheetPrimaryColor
final Unit setBottomSheetPrimaryColor(Integer color)
Sets primary color for most of text's and other UI elements of the bottom sheet
-
onBackPressed
final Boolean onBackPressed()
Processing back press and collapsing bottom sheet if needed
-
-
-
-