Skaldebane
02/17/2025, 12:33 AMClipboard.setClipEntry
, but I can't figure out how to create a ClipEntry
, I get Expected class 'expect class ClipEntry : Any' does not have default constructor.
, and there seems to be no factory or companion functions to use (at least not from commonMain
).
My usage with the deprecated APIs was this: clipboard.setText(AnnotatedString(text))
, any help would be appreciated.Kirill Grouchnikov
02/17/2025, 12:58 AMClipData.toClipEntry()
function?Skaldebane
02/17/2025, 1:03 AMSkaldebane
02/17/2025, 1:23 PMClipEntry
for the new Clipboard APIs, make sure to upvote it!
https://youtrack.jetbrains.com/issue/CMP-7624