Class DocumentDataFieldListView
-
- 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.documentdata.list.IDocumentDataFieldListView
public final class DocumentDataFieldListView extends FrameLayout implements IDocumentDataFieldListView
Represents a list of scanned field of the document
-
-
Constructor Summary
Constructors Constructor Description DocumentDataFieldListView(Context context, AttributeSet attrs)
-
Method Summary
Modifier and Type Method Description UnitattachViewModel(IDocumentDataFieldListView.ViewModel viewModel)final UnitsetBottomSheetBackgroundColor(Integer color)Sets a color of the bottom sheet final UnitsetBottomSheetPrimaryColor(Integer color)Sets primary color for most of text's and other UI elements of the bottom sheet final BooleanonBackPressed()Processing back press and collapsing bottom sheet if needed -
-
Constructor Detail
-
DocumentDataFieldListView
DocumentDataFieldListView(Context context, AttributeSet attrs)
-
-
Method Detail
-
attachViewModel
Unit attachViewModel(IDocumentDataFieldListView.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
-
-
-
-