Biller Roman
Biller Roman

Reputation: 11

Compose. Scrolling a list with hiding SearchBar

Good day. The task is to put a SearchBar at the top of the list so that when scrolling the list the search is hidden. The behavior is somewhat similar to topappbar. Attempts to install search in the appbar were unsuccessful. In the end, I realized that nestedscrollconnection seems to be involved here, but things didn’t go further than this understanding. On the mp3 website I found a video of exactly the behavior that I would like to implement.

Scroll to the "Scroll" category https://m3.material.io/components/search/guidelines

I tried to combine topapbar and searchbar but the behavior is not what I need.

Upvotes: 1

Views: 184

Answers (0)

Related Questions