{"action":"created","issue":{"url":"https://api.github.com/repos/Narfss/ParallaxEverywhere/issues/13","repository_url":"https://api.github.com/repos/Narfss/ParallaxEverywhere","labels_url":"https://api.github.com/repos/Narfss/ParallaxEverywhere/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Narfss/ParallaxEverywhere/issues/13/comments","events_url":"https://api.github.com/repos/Narfss/ParallaxEverywhere/issues/13/events","html_url":"https://github.com/Narfss/ParallaxEverywhere/issues/13","id":149103915,"number":13,"title":"Not working with RecyclerView?","user":{"login":"MiralDesai","id":13769268,"avatar_url":"https://avatars.githubusercontent.com/u/13769268?v=3","gravatar_id":"","url":"https://api.github.com/users/MiralDesai","html_url":"https://github.com/MiralDesai","followers_url":"https://api.github.com/users/MiralDesai/followers","following_url":"https://api.github.com/users/MiralDesai/following{/other_user}","gists_url":"https://api.github.com/users/MiralDesai/gists{/gist_id}","starred_url":"https://api.github.com/users/MiralDesai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiralDesai/subscriptions","organizations_url":"https://api.github.com/users/MiralDesai/orgs","repos_url":"https://api.github.com/users/MiralDesai/repos","events_url":"https://api.github.com/users/MiralDesai/events{/privacy}","received_events_url":"https://api.github.com/users/MiralDesai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-04-18T09:59:18Z","updated_at":"2016-09-29T14:54:13Z","closed_at":null,"body":"Do you have a sample on how this library works? Specifically with a RecyclerView if possible? I'm adding the PEWImageVIew to my row layout and it's not working.\r\n\r\nAnything I need to add to the view, or is it simply not compatible with a RecyclerView? i'm getting my image from a HTTP call, loading it in, maybe it's that?\r\n\r\nEdit: It seems the PEWTextView works, just not the PEWImageView?"},"comment":{"url":"https://api.github.com/repos/Narfss/ParallaxEverywhere/issues/comments/250490279","html_url":"https://github.com/Narfss/ParallaxEverywhere/issues/13#issuecomment-250490279","issue_url":"https://api.github.com/repos/Narfss/ParallaxEverywhere/issues/13","id":250490279,"user":{"login":"ronaldo-getreveel","id":15217193,"avatar_url":"https://avatars.githubusercontent.com/u/15217193?v=3","gravatar_id":"","url":"https://api.github.com/users/ronaldo-getreveel","html_url":"https://github.com/ronaldo-getreveel","followers_url":"https://api.github.com/users/ronaldo-getreveel/followers","following_url":"https://api.github.com/users/ronaldo-getreveel/following{/other_user}","gists_url":"https://api.github.com/users/ronaldo-getreveel/gists{/gist_id}","starred_url":"https://api.github.com/users/ronaldo-getreveel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronaldo-getreveel/subscriptions","organizations_url":"https://api.github.com/users/ronaldo-getreveel/orgs","repos_url":"https://api.github.com/users/ronaldo-getreveel/repos","events_url":"https://api.github.com/users/ronaldo-getreveel/events{/privacy}","received_events_url":"https://api.github.com/users/ronaldo-getreveel/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T14:54:13Z","updated_at":"2016-09-29T14:54:13Z","body":"Override the PEWImageView like this:\r\n\r\n`\r\npublic class ParalaxImageView extends PEWImageView{\r\n\r\n    public ParalaxImageView(Context context) {\r\n        super(context);\r\n    }\r\n\r\n    public ParalaxImageView(Context context, AttributeSet attrs) {\r\n        super(context, attrs);\r\n    }\r\n\r\n    public ParalaxImageView(Context context, AttributeSet attrs, int defStyle) {\r\n        super(context, attrs, defStyle);\r\n    }\r\n\r\n    @Override\r\n    public void setImageResource(int resId) {\r\n        super.setImageResource(resId);\r\n        invalidate();\r\n    }\r\n\r\n    @Override\r\n    public void setImageDrawable(Drawable drawable) {\r\n        super.setImageDrawable(drawable);\r\n        invalidate();\r\n    }\r\n\r\n    @Override\r\n    public void setImageBitmap(Bitmap bm) {\r\n        super.setImageBitmap(bm);\r\n        invalidate();\r\n    }\r\n}\r\n`\r\n\r\nAnd it will work fine. \r\n\r\nI'll submit a pull request soon."}}
{"actor":{"display_login":"ronaldo-getreveel"}}