{"action":"created","issue":{"url":"https://api.github.com/repos/ArthurHub/Android-Image-Cropper/issues/99","repository_url":"https://api.github.com/repos/ArthurHub/Android-Image-Cropper","labels_url":"https://api.github.com/repos/ArthurHub/Android-Image-Cropper/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/ArthurHub/Android-Image-Cropper/issues/99/comments","events_url":"https://api.github.com/repos/ArthurHub/Android-Image-Cropper/issues/99/events","html_url":"https://github.com/ArthurHub/Android-Image-Cropper/issues/99","id":160860037,"number":99,"title":"Cropbox getting dislocated","user":{"login":"mshukla19","id":7594206,"avatar_url":"https://avatars.githubusercontent.com/u/7594206?v=3","gravatar_id":"","url":"https://api.github.com/users/mshukla19","html_url":"https://github.com/mshukla19","followers_url":"https://api.github.com/users/mshukla19/followers","following_url":"https://api.github.com/users/mshukla19/following{/other_user}","gists_url":"https://api.github.com/users/mshukla19/gists{/gist_id}","starred_url":"https://api.github.com/users/mshukla19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshukla19/subscriptions","organizations_url":"https://api.github.com/users/mshukla19/orgs","repos_url":"https://api.github.com/users/mshukla19/repos","events_url":"https://api.github.com/users/mshukla19/events{/privacy}","received_events_url":"https://api.github.com/users/mshukla19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-06-17T10:38:17Z","updated_at":"2016-06-17T13:57:59Z","closed_at":null,"body":"I am facing a strange problem. I am using this in a viewpager which has different fragments. Each fragment has a crop imageview. After I set the cropbox, i save the value of croppoints in a variable. When i move in this pattern between fragments 0->1->2->1->0 then 0th fragment doesn't show cropimageview correctly and box is dislocated. I am using this code in OnViewCreated ->\r\n```\r\npublic void onBitmapLoaded(Bitmap bitmap, Picasso.LoadedFrom from) {\r\nmProgressBar.setVisibility(View.GONE);\r\ncropImageView.setVisibility(View.VISIBLE);\r\ncropImageView.setImageResource(bitmap);\r\n                if (answerModel.isFilled()) {\r\n                    cropImageView.setCropRect(answerModel.getRect());\r\n                    lockBoundingBox();\r\n                } else {\r\n                    unlockBoundingBox();\r\n                }\r\n            }\r\n```\r\nand to save the croppoints in answermodel, \r\n```\r\nanswerModel.addRect(cropImageView.getCropRect());\r\n```\r\nCan you help me solve this?"},"comment":{"url":"https://api.github.com/repos/ArthurHub/Android-Image-Cropper/issues/comments/226775694","html_url":"https://github.com/ArthurHub/Android-Image-Cropper/issues/99#issuecomment-226775694","issue_url":"https://api.github.com/repos/ArthurHub/Android-Image-Cropper/issues/99","id":226775694,"user":{"login":"mshukla19","id":7594206,"avatar_url":"https://avatars.githubusercontent.com/u/7594206?v=3","gravatar_id":"","url":"https://api.github.com/users/mshukla19","html_url":"https://github.com/mshukla19","followers_url":"https://api.github.com/users/mshukla19/followers","following_url":"https://api.github.com/users/mshukla19/following{/other_user}","gists_url":"https://api.github.com/users/mshukla19/gists{/gist_id}","starred_url":"https://api.github.com/users/mshukla19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshukla19/subscriptions","organizations_url":"https://api.github.com/users/mshukla19/orgs","repos_url":"https://api.github.com/users/mshukla19/repos","events_url":"https://api.github.com/users/mshukla19/events{/privacy}","received_events_url":"https://api.github.com/users/mshukla19/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T13:57:59Z","updated_at":"2016-06-17T13:57:59Z","body":"Here you go -\r\n![ezgif-1875333090](https://cloud.githubusercontent.com/assets/7594206/16152897/8da75b64-34c1-11e6-8a55-dc140b138971.gif)\r\n"}}
{"actor":{"display_login":"mshukla19"}}