We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Used to support custom LayoutManager.
Such as: CarouselLayoutManager, this is material3 built-in LayoutManager, it extends from RecyclerView.LayoutManager
RecyclerView.LayoutManager
At present only through broken encapsulation methods to access RecyclerViewOverScrollDecorAdapter.Impl
RecyclerViewOverScrollDecorAdapter.Impl
package me.everything.android.ui.overscroll.adapters // same package name import androidx.recyclerview.widget.RecyclerView /** * CarouselLayoutManager over scroll. */ class CarouselOverScrollAdapter(recyclerView: RecyclerView) : RecyclerViewOverScrollDecorAdapter(recyclerView, CarouselImpl(recyclerView)) private class CarouselImpl(private val recyclerView: RecyclerView) : RecyclerViewOverScrollDecorAdapter.Impl { override fun isInAbsoluteStart(): Boolean { return !recyclerView.canScrollHorizontally(-1) } override fun isInAbsoluteEnd(): Boolean { return !recyclerView.canScrollHorizontally(1) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Used to support custom LayoutManager.
Such as: CarouselLayoutManager, this is material3 built-in LayoutManager, it extends from
RecyclerView.LayoutManager
At present only through broken encapsulation methods to access
RecyclerViewOverScrollDecorAdapter.Impl
The text was updated successfully, but these errors were encountered: