Skip to content

Warning : requestLayout() improperly called #41

@gmeral

Description

@gmeral

When the likes counter is updated, this warning appears in the console.

09-18 14:47:14.751 8414-8414/io.github.froger.instamaterial W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{b2730f6 V.ED..... ......ID 0,0-143,57} during layout: running second layout pass

I also have a TextSwitcher in my RecyclerView items and when calling textSwitcher.setTextin my ItemAnimator, i also have this warning.
Would you have an idea why this is happening and how we could avoid it ?

Thanks in advance for the help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions