Sensitivity

class Sensitivity

Defines which part of screen will not be visible.

See also

Functions

Link copied to clipboard
fun <T : View> getViewClassSensitivity(clazz: Class<T>): Boolean?

Returns View class sensitivity. By default, EditText is sensitive. Class sensitivity can be overridden by instance sensitivity.

Link copied to clipboard
fun <T : View> getViewInstanceSensitivity(view: T): Boolean?

Returns sensitivity of the view instance.

Link copied to clipboard
fun <T : View> setViewClassSensitivity(clazz: Class<T>, isSensitive: Boolean?)

Sets View class sensitivity. Whether to cover all instances of clazz in the record or null to not change the behaviour by clazz. By default, EditText is sensitive. Class sensitivity can be overridden by instance sensitivity.

Link copied to clipboard
fun <T : View> setViewInstanceSensitivity(view: T, isSensitive: Boolean?)

Sets sensitivity for the view instance. Whether to cover the view in the record or null to not change behaviour by the view instance.