ToDoList icon indicating copy to clipboard operation
ToDoList copied to clipboard

D/TextView: setTypeface with style : 0

Open senpl opened this issue 6 years ago • 1 comments

 super(context, attrs, defStyleAttr);
    LayoutInflater.from(context).inflate(layout.bat_recycler_view, this, true);

this two lines go into infinite loop. In log only D/TextView: setTypeface with style : 0 It works in orginal example but using it outside of main projects produce that error.

senpl avatar Apr 18 '18 15:04 senpl

This happend when You got file bat_ in your layouts, not inside library. If they are in app res folder inflate goes into infinite loop and app crashes. As library this should be protected against that in my opinion.

senpl avatar Apr 23 '18 09:04 senpl