-
Notifications
You must be signed in to change notification settings - Fork 765
Closed
Description
- I have searched existing issues and this is not a duplicate
Version
0.47.0
Issues and Steps to Reproduce
I need to dynamically adjust the height of the viewpager to achieve the effect shown in the following figure:
In Viewpager2, I can dynamically calculate and refresh the height of viewpager2 by listening to ViewPager2.OnPageChangeCallback, calculating the difference between the current page and the target page, and sliding the differencer;
In litho, I did not find the ViewPager2.OnPageChangeCallback interface, only the lower-level RecyclerView.OnScrollListener interface, so I am wondering if there is an implementation similar to the native ScrollEventAdapter in litho;
Expected Behavior
Link to Code
Please show some code we can use to reproduce this issue. Consider using PlaygroundComponentSpec to provide a small example of the issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels