When writing Recycler View and Coordinator Layout, scrolling stops in Recycler View

Asked 2 years ago, Updated 2 years ago, 24 views

Hi, how are you?

Recycle view and Coordinator Layout AppBar Layout Collapping Toolbar Layout You are adjusting the toolbar size using the .

Scroll down and scroll up quickly to stop at the first item in the cycle view

Scroll up again here and the toolbar will return to its original state

I have a question in Stack of the same phenomenon, but I don't know what you're talking about.

Is it possible to synchronize the scroll with the recycle view and the toolbar scroll?

android

2022-09-22 20:45

1 Answers

I don't have a good idea about the way I want to implement it. Use the app:layout_scrollFlags property to change the effect of scrolling. In the link below, you can see the effect of each attribute in gif. I think it would be better to check if there is a similar effect first.


2022-09-22 20:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.