Skip to content

When targeting API 26 (Android O) logcat is full of warnings. #69

Description

@danielfaust

W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{9cb9cc0 I.ED..... ......I. 3,3-171,171} during layout: running second layout pass

These went away when I removed com.futuremind.recyclerfastscroll:fastscroll:0.2.5 and everything that made use of it in my code.

I'm getting a ton of these.

I have tabbed fragments which contain a RecyclerView which makes use of fastscroll. When the app starts, only two fragments are created. Whenever something needs to redraw the fragmets, that warning comes up (including each animation frame, so really a lot), one for each fragment. It really floods logcat. When I scroll a fragment to the left, so that a new one is created because a new tab is getting prepared by the system, then not only three different addresses (like the one in the sample 9cb9cc0) exist, but somehow a loop is created so that I get a constant stream of this warnings without even doing anything.

Also, when scrolling the adapter which is under the influence of fastscroll (scrolling it normally), it kind of looks as if everything is getting redrawn twice, it no longer looks smooth like when fastscroll is removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions