Skip to content

Slint v1.5 Android: Using .copy() and other clipboard methods on LineEdit component. #4864

Answered by ogoffart
CM-IV asked this question in Q&A
Discussion options

You must be logged in to vote

This is not yet implemented yes. I've filled issue #4865

We would need to implement the trait method clipboard_text and set_clipboard_text in

impl i_slint_core::platform::Platform for AndroidPlatform {

and call into java (in SlintAndroidJavaHelper.java) to get the clipboard with something like this: https://developer.android.com/reference/android/content/ClipboardManager

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by CM-IV
Comment options

You must be logged in to vote
1 reply
@ogoffart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants