Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D/TextView: setTypeface with style : 0 #12

Open
senpl opened this issue Apr 18, 2018 · 1 comment
Open

D/TextView: setTypeface with style : 0 #12

senpl opened this issue Apr 18, 2018 · 1 comment

Comments

@senpl
Copy link

senpl commented Apr 18, 2018

 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
Copy link
Author

senpl commented Apr 23, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant