You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The screenshot below shows the call stack when the view is detached after models are rebuilt.
Suggestion
Assuming that VisiblityState.VISIBLE is the only initial state and VisibilityState.INVISIBLE the terminal state, I find the above sequence unexpected.
Shouldn't they be
VisibilityState.VISIBLE
// Some other visible states
// The user refreshes the feed
VisibilityState.UNFOCUSED_VISIBLE
VisibilityState.PARTIAL_IMPRESSION_INVISIBLE
VisibilityState.INVISIBLE
// No other VisibilityStates
or with smaller code changes maybe we can just
VisibilityState.VISIBLE
// Some other visible states
// The user refreshes the feed
VisibilityState.INVISIBLE
// No other VisibilityStates
Environment
Epoxy version 4.6.4
The text was updated successfully, but these errors were encountered:
Description
When the models are rebuilt, below snippets
epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyVisibilityTracker.kt
Lines 331 to 340 in 109d434
may emit events in below order
although
detachEvent = true
.The screenshot below shows the call stack when the view is detached after models are rebuilt.
Suggestion
Assuming that
VisiblityState.VISIBLE
is the only initial state andVisibilityState.INVISIBLE
the terminal state, I find the above sequence unexpected.Shouldn't they be
or with smaller code changes maybe we can just
Environment
Epoxy version
4.6.4
The text was updated successfully, but these errors were encountered: