After updating Google libraries to 23.2.0 ran into a problem, which was in their old versions (if I'm not mistaken, this is 22+ or 23.1.0 )

I have a RecyclerView in SwipeRefreshLayout , which, in turn, is in CoordinatorLayout in which AppBarLayout with CollapsingToolbarLayout inside.

And when my CollapsingToolbarLayout not fully disclosed and I try to open it with a scroll down, I get the appearance of the SwipeRefreshLayout download indicator SwipeRefreshLayout .

What to do?

    1 answer 1

    Yes, it looks like this is an old-new bug 23.2.0 version of the support library.

    It is enough to roll back versions of libraries to 23.1.1 so that the bug disappears.

    We'll have to wait for the next bug fix from Google and use the old version for now.

    Here is a list of dependencies that koi does not build to update to 23.2.0 in order to avoid this bug:

     compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:support-v4:23.1.1' compile 'com.android.support:design:23.1.1' compile 'com.android.support:recyclerview-v7:23.1.1' 

    You can also use the SwipeRefreshLayout override crutch SwipeRefreshLayout


    Here is a link to a bug in Google's bug tracker: RecyclerView v23.2.0 - doesn't play nicely with SwipeRefreshLayout


    The same question-answer in Anglo-Saxon:
    ShowBarLayout scrolling down


    UPD 04/08/2016:

    The problem is fixed in the version of libraries 23.3.0