{"action":"opened","issue":{"url":"https://api.github.com/repos/ZekunWang/NYTimesSearch/issues/1","repository_url":"https://api.github.com/repos/ZekunWang/NYTimesSearch","labels_url":"https://api.github.com/repos/ZekunWang/NYTimesSearch/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ZekunWang/NYTimesSearch/issues/1/comments","events_url":"https://api.github.com/repos/ZekunWang/NYTimesSearch/issues/1/events","html_url":"https://github.com/ZekunWang/NYTimesSearch/issues/1","id":167491512,"number":1,"title":"[Android Bootcamp] Project 2 - Review my app","user":{"login":"ZekunWang","id":14100634,"avatar_url":"https://avatars.githubusercontent.com/u/14100634?v=3","gravatar_id":"","url":"https://api.github.com/users/ZekunWang","html_url":"https://github.com/ZekunWang","followers_url":"https://api.github.com/users/ZekunWang/followers","following_url":"https://api.github.com/users/ZekunWang/following{/other_user}","gists_url":"https://api.github.com/users/ZekunWang/gists{/gist_id}","starred_url":"https://api.github.com/users/ZekunWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZekunWang/subscriptions","organizations_url":"https://api.github.com/users/ZekunWang/orgs","repos_url":"https://api.github.com/users/ZekunWang/repos","events_url":"https://api.github.com/users/ZekunWang/events{/privacy}","received_events_url":"https://api.github.com/users/ZekunWang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-25T23:50:31Z","updated_at":"2016-07-25T23:50:31Z","closed_at":null,"body":"My App is complete, please review. \r\n/cc @codepathreview @codepath\r\n\r\nI am having an issue with DynamicHeightImageView. When I set \"ivImage = (DynamicHeightImageView) view.findViewById(R.id.ivImage);\" in my ViewHolder class for RecyclerView. I got error saying \"java.lang.ClassCastException: android.support.v7.widget.AppCompatImageView cannot be cast to com.zekunwang.nytimessearch.DynamicHeightImageView\". \r\n\r\nSo instead of using ImageView in layout xml file, I changed it to com.zekunwang.nytimessearch.DynamicHeightImageView. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/14100634/17121274/2843a99a-5298-11e6-8a1e-0c25add72911.png)\r\n\r\nNow my ViewHolder has no error:\r\n![image](https://cloud.githubusercontent.com/assets/14100634/17121261/11a021d2-5298-11e6-8475-89f06447b430.png)\r\n\r\nThen the app could run, but with a look like this:\r\n![image](https://cloud.githubusercontent.com/assets/14100634/17121295/5a74ed84-5298-11e6-99c5-5b03725cdda6.png)\r\n\r\nWhy am I having those huge spaces?"}}
{"actor":{"display_login":"ZekunWang"}}