[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[WEEX-650][Android] fix appear & disappear problem of items in scroller #1652

Merged
merged 1 commit into from
Oct 23, 2018

Conversation

yxping
Copy link
Contributor
@yxping yxping commented Oct 22, 2018

There are two problem fixed in this situation.

  1. When a scroller is shown by sliding up a list, appear events of the item in scroller can not be fired. This is caused by the scroller component in Android only fires appear / disappear event when scrolling exclude the time that scroller is attached / detached to window.

  2. The logic that check a view is visible in scroller component is defective, because in the time of call check method, the view may not in screen but it will show after this tick.

Copy link
Contributor
@miomin miomin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YorkShen YorkShen merged commit f56ba86 into apache:master Oct 23, 2018
@yxping yxping deleted the fix-scroller branch October 23, 2018 12:27
gubaojian pushed a commit to gubaojian/incubator-weex that referenced this pull request Jan 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants