Start native apps faster with the Composables CLI ->
Function

isCopyAllowed

Whether the copying is allowed in the current state.

isCopyAllowed

Source set: Common
inline fun isCopyAllowed(): Boolean

Whether the copying is allowed in the current state. It checks the essential conditions:

  • the selection must be not collapsed
  • the text field type is not password

Also, see copyWithResult