How does text selection work in compose? I am trying to make a thing to enable selection of an area that can be used in combination with a Canvas to enable selecting drawn elements. Has anyone done this or similar?
z
Zach Klippenstein (he/him) [MOD]
09/09/2024, 4:09 PM
“How does it work” is a complex question that can probably only be answered by reading the code 😅 There aren’t public APIs for controlling
SelectionContainer
much at this time unfortunately.
z
zt
09/09/2024, 9:47 PM
Mainly just how everything comes together to make selection work. here seems to be everything related to text selection