Skip to content

Added support for BackgroundTextMeasurement in all Platforms#3238

Open
Apolo (ApoloApps) wants to merge 2 commits into
JetBrains:jb-mainfrom
ApoloApps:backgroungTextMeasurementExecutorSupport
Open

Added support for BackgroundTextMeasurement in all Platforms#3238
Apolo (ApoloApps) wants to merge 2 commits into
JetBrains:jb-mainfrom
ApoloApps:backgroungTextMeasurementExecutorSupport

Conversation

@ApoloApps

Copy link
Copy Markdown

Support BackgroundTextMeasurement by adding a Platform* interface. It typealiases in JVM to Executor. This PR is a copy of the Android Api ported to Multiplatform.

I leave it up to you, CMP team, to add platform-specific implementations based in the possible performance gains it can provide. In JVM, LocalPlatformBackgroundTextMeasurementExecutor can be Executors.newSingleThreadExecutor() (as per Android KDoc)

Lays foundation for https://youtrack.jetbrains.com/issue/CMP-7818

Testing

(Optional) Describe how you tested your changes (provide a snippet or/and steps)

(Optional) This should be tested by QA

Release Notes

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant