Package-level declarations
Types
This is the controller for a section with a changing number and set of fields. This is in contrast to the SectionController which is a section in which the fields in it do not change.
This is a generic controller
This is the configuration for a country dropdown.
This class controls the dropdown view and implements the InputController interface. Because it can never be in error the errorMessage
is always null. It is also designed to always have a value selected, so isComplete is always true.
Encapsulates an error message including the string resource and the variable arguments
This is used to define each section in the visual form layout. Each item in the layout has an identifier and a controller associated with it.
This uniquely identifies a element in the form. The vals here are for identifier specs that need to be found when pre-populating fields, or when extracting data.
This class provides the logic behind the fields.
This is the controller for a section with a static number of fields.
Indicates a class could be drawn as a Composable within SectionFieldElementUI.
Any element in a section must have a controller that provides an error and have a type. This is used for a single field in a section or a section field that has other fields in it.
This is an element that is in a section and accepts user input.
This class will provide the onValueChanged and onFocusChanged functionality to the field's composable. These functions will update the observables as needed. It is responsible for exposing immutable observers for its data
This represents the different states a field can be in, in each of these cases there might be a reason to show the error in a different way. This interface separates how the state is implemented from what information is required by clients of the interface. This will allow the implementation to change without impacting the clients.
Properties
Functions
This composable will handle the display of dropdown items in a lazy column.
This is a simple section that holds content in a card view. It has a label, content specified by the caller, and an error string.
This is the layout for the section card.
This is how error string for the section are displayed.
This is focused on converting an TextFieldController into what is displayed in a textField.
This is focused on converting an TextFieldController into what is displayed in a section with a single textField.