Interface ComponentView
-
- All Implemented Interfaces:
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public interface ComponentView
A View that can display input and fill in details for a Component.
-
-
Method Summary
Modifier and Type Method Description abstract UnitinitView(ComponentDelegate delegate, CoroutineScope coroutineScope, Context localizedContext)This function will be called when the component is attached and the view is ready to get initialized. abstract UnithighlightValidationErrors()Highlight and focus on the current validation errors for the user to take action. abstract ViewgetView()-
-
Method Detail
-
initView
abstract Unit initView(ComponentDelegate delegate, CoroutineScope coroutineScope, Context localizedContext)
This function will be called when the component is attached and the view is ready to get initialized.
-
highlightValidationErrors
abstract Unit highlightValidationErrors()
Highlight and focus on the current validation errors for the user to take action. If the component doesn't need validation or if everything is already valid, nothing will happen.
-
-
-
-