Function

isPasteAllowed

Whether 'paste' is allowed.

isPasteAllowed

Source set: Common
@Suppress("NOTHING_TO_INLINE") inline fun isPasteAllowed(): Boolean

Whether 'paste' is allowed. It's allowed when the text field is editable.

Also, see onPasteEvent

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: