Skip to content

SwipeRefreshLayout as parent for RecyclerView is not workingΒ #33

@AlexandreGorobets

Description

@AlexandreGorobets

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>

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions