{"action":"created","issue":{"url":"https://api.github.com/repos/Piasy/BigImageViewer/issues/61","repository_url":"https://api.github.com/repos/Piasy/BigImageViewer","labels_url":"https://api.github.com/repos/Piasy/BigImageViewer/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/Piasy/BigImageViewer/issues/61/comments","events_url":"https://api.github.com/repos/Piasy/BigImageViewer/issues/61/events","html_url":"https://github.com/Piasy/BigImageViewer/issues/61","id":249221492,"node_id":"MDU6SXNzdWUyNDkyMjE0OTI=","number":61,"title":"  Caused by: android.view.InflateException:","user":{"login":"yanxinmiao","id":5194620,"node_id":"MDQ6VXNlcjUxOTQ2MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/5194620?v=4","gravatar_id":"","url":"https://api.github.com/users/yanxinmiao","html_url":"https://github.com/yanxinmiao","followers_url":"https://api.github.com/users/yanxinmiao/followers","following_url":"https://api.github.com/users/yanxinmiao/following{/other_user}","gists_url":"https://api.github.com/users/yanxinmiao/gists{/gist_id}","starred_url":"https://api.github.com/users/yanxinmiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanxinmiao/subscriptions","organizations_url":"https://api.github.com/users/yanxinmiao/orgs","repos_url":"https://api.github.com/users/yanxinmiao/repos","events_url":"https://api.github.com/users/yanxinmiao/events{/privacy}","received_events_url":"https://api.github.com/users/yanxinmiao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-10T03:20:55Z","updated_at":"2018-10-13T01:49:31Z","closed_at":"2017-10-02T17:16:58Z","author_association":"NONE","body":"```\r\nCaused by: android.view.InflateException: Binary XML file line #26: Binary XML file line #26: Error inflating class com.github.piasy.biv.view.BigImageView\r\n         at android.view.LayoutInflater.inflate(LayoutInflater.java:543)\r\n        at android.view.LayoutInflater.inflate(LayoutInflater.java:427)\r\n        at android.view.LayoutInflater.inflate(LayoutInflater.java:374)\r\n   atandroid.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:292)\r\n```\r\nthis is my code \r\n```\r\n <com.github.piasy.biv.view.BigImageView\r\n            android:id=\"@+id/photo_view\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"match_parent\"\r\n            app:failureImage=\"@drawable/default_entry_pic\"\r\n            app:failureImageInitScaleType=\"center\"\r\n            app:optimizeDisplay=\"false\" />\r\n\r\n@BindView(R.id.photo_view)\r\nBigImageView mBigImage;\r\n@Override\r\nprotected void onCreate(Bundle savedInstanceState) {\r\n            BigImageViewer.initialize(GlideImageLoader.with(MyApplication.getApplication()));\r\n            setContentview(R.layout.activiyt_main);\r\n            mBigImage.showImage(Uri.parse(url));\r\n}\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Piasy/BigImageViewer/issues/comments/429501764","html_url":"https://github.com/Piasy/BigImageViewer/issues/61#issuecomment-429501764","issue_url":"https://api.github.com/repos/Piasy/BigImageViewer/issues/61","id":429501764,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTUwMTc2NA==","user":{"login":"potter777","id":3980942,"node_id":"MDQ6VXNlcjM5ODA5NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/3980942?v=4","gravatar_id":"","url":"https://api.github.com/users/potter777","html_url":"https://github.com/potter777","followers_url":"https://api.github.com/users/potter777/followers","following_url":"https://api.github.com/users/potter777/following{/other_user}","gists_url":"https://api.github.com/users/potter777/gists{/gist_id}","starred_url":"https://api.github.com/users/potter777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potter777/subscriptions","organizations_url":"https://api.github.com/users/potter777/orgs","repos_url":"https://api.github.com/users/potter777/repos","events_url":"https://api.github.com/users/potter777/events{/privacy}","received_events_url":"https://api.github.com/users/potter777/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T01:49:31Z","updated_at":"2018-10-13T01:49:31Z","author_association":"NONE","body":"I had same issue. \r\nI solved it, Initializing BigImage before inflate the view (a fragment in my case)."}}
{"actor":{"display_login":"potter777"}}