Skip to content
New issue

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

SwipeRefreshLayout as parent for RecyclerView is not working #33

Open
AlexandreGorobets opened this issue Jun 9, 2021 · 0 comments
Open
Assignees
Labels
🐛 bug Something isn't working

Comments

@AlexandreGorobets
Copy link

Current workaround is to use intermediate parent, but it's looks ugly I think =)

        <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <FrameLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent">

                <androidx.recyclerview.widget.RecyclerView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
                     />
            </FrameLayout>
        </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

@ericktijerou ericktijerou added the 🐛 bug Something isn't working label Aug 3, 2021
@ericktijerou ericktijerou self-assigned this Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants