bgogetap / StickyHeaders

Easily add Sticky Headers to your RecyclerView
Apache License 2.0
521 stars 88 forks source link

Freezing on android api 21 #70

Open java2men opened 6 years ago

java2men commented 6 years ago

Hi, Can anyone confirm? I'm freezing on emulator android api 21. Thank you.

bgogetap commented 6 years ago

Is there any more information you can provide for this issue?

java2men commented 6 years ago

I tested your demo from the repository. The demo is working fine.

Layout of the demo is simple:

<FrameLayout>

    <android.support.v7.widget.RecyclerView />

</FrameLayout>

Layout of my project:

<android.support.v4.widget.DrawerLayout>

    <android.support.design.widget.CoordinatorLayout>

        <android.support.design.widget.AppBarLayout/>

            <android.support.constraint.ConstraintLayout
                app:layout_behavior="@string/appbar_scrolling_view_behavior">

                <android.support.v4.widget.SwipeRefreshLayout>

                    <ViewPager>

                        <FrameLayout>

                            <!--This is Sticky Headers-->
                            <android.support.v7.widget.RecyclerView/>

                        </FrameLayout>

                    </ViewPager>

                </android.support.v4.widget.SwipeRefreshLayout>

            </android.support.constraint.ConstraintLayout

    </android.support.design.widget.CoordinatorLayout>

</android.support.v4.widget.DrawerLayout>

May be a problem in appbar_scrolling_view_behavior ?

However, the layout of my project is working fine for api > 21