Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Make rendering calls asynchronous (in a new Thread) #107

Open
KevinHaendel opened this issue Feb 26, 2023 · 1 comment
Open

Make rendering calls asynchronous (in a new Thread) #107

KevinHaendel opened this issue Feb 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@KevinHaendel
Copy link

Currently, the native rendering processes in this package are executed synchronously on the main thread, which can cause performance issues and potential UI freezes, especially when swiping through multiple pages using the ListView.builder example from the README file. Is it possible to make the rendering processes asynchronous and execute them in a separate thread for at least both Android and iOS? I think it is possible to return the rendering result to the method channel from the new thread, so it should be no big deal to change the source code for this, or am I missing something?

@myselfuser1
Copy link

This will help https://www.youtube.com/watch?v=gAUVz0U7eyA

@espresso3389 espresso3389 added the enhancement New feature or request label Jun 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants