Baseflow / Baseflow/PhotoView

Error inflating class com.github.chrisbanes.photoview.PhotoView

Open
#732 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.