Error inflating class com.github.chrisbanes.photoview.PhotoView
- Dominant language
- Java
- Stars
- 18.8k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
Hi
i am use PhotoView in my recycler view.
and get error when inflate view on adapter:
` public PostViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
View view = LayoutInflater.from(context).inflate(R.layout._post,viewGroup,false);
return new PostViewHolder(view);
}`
this not related to multidex.
this error on all android version.
build error is :
android.view.InflateException: Binary XML file line #10 in ..:layout/_post: Binary XML file line #10 in ..4:layout/_post: Error inflating class com.github.chrisbanes.photoview.PhotoView
Caused by: android.view.InflateException: Binary XML file line #10 in ...:layout/_post: Error inflating class com.github.chrisbanes.photoview.PhotoView
Caused by: java.lang.ClassNotFoundException: com.github.chrisbanes.photoview.PhotoView
Contributor guide
Assessment
This issue has not been assessed yet.