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

Databinding required #30

Open
jhonatansabadi opened this issue Apr 6, 2020 · 2 comments
Open

Databinding required #30

jhonatansabadi opened this issue Apr 6, 2020 · 2 comments

Comments

@jhonatansabadi
Copy link

I dont use data binding on my project, but i was incapable to use the lib without adding data binding.

@NickM-27
Copy link
Owner

NickM-27 commented Apr 7, 2020

Thanks, can you please paste here what the error is that you get when data binding is not included in your project?

@Muragul
Copy link

Muragul commented Feb 16, 2023

Had similar issue.
android.view.InflateException: Error inflating class com.nick.mowen.linkpreview.view.LinkPreview
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:854)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1006)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1123)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1126)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1126)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.inflate(LayoutInflater.java:682)
at android.view.LayoutInflater.inflate(LayoutInflater.java:534)

Solved simply by enabling dataBinding

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

3 participants