OptionSelectorDetector - DataDog/dd-sdk-android GitHub Wiki

interface OptionSelectorDetector

Detects if a ViewGroup is a parent of selectable UI elements (e.g. TextView, CheckBoxes, etc.). This interface is meant for internal usage but feel free to provide an implementation through the com.datadog.android.sessionreplay.ExtensionSupport if you need it.

Functions

isOptionSelector

abstract fun isOptionSelector(view: ViewGroup): Boolean

Checks and returns true if this ViewGroup is considered as a container of selectable UI elements, otherwise returns false.