facebook / facebook/litho

Litho ResolveRunnable runing twice

Open
#1,034 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
7.8k
Forks
768
PR merge metrics
No merged PRs in 30d

Description

- [x] I have searched [existing issues](https://github.com/facebook/litho/issues) and this is not a duplicate

## Version
I use Litho in version 0.47.0

## Issues and Steps to Reproduce
I found Litho ResolveRunnable runing twice. One of this from LithoView's onMeasure method it's on ui thread, and another one from resolveThreadHandler, it's on another thread。There is no fixed order of execution。

## Expected Behavior
I want only one time of resolve and on no UI thread。

## Link to Code

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.