{"action":"opened","issue":{"url":"https://api.github.com/repos/koush/ion/issues/754","repository_url":"https://api.github.com/repos/koush/ion","labels_url":"https://api.github.com/repos/koush/ion/issues/754/labels{/name}","comments_url":"https://api.github.com/repos/koush/ion/issues/754/comments","events_url":"https://api.github.com/repos/koush/ion/issues/754/events","html_url":"https://github.com/koush/ion/issues/754","id":167199341,"number":754,"title":"Cannot create object inside the setCallback(new FutureCallback<String>()","user":{"login":"iamadarshkumar","id":16274113,"avatar_url":"https://avatars.githubusercontent.com/u/16274113?v=3","gravatar_id":"","url":"https://api.github.com/users/iamadarshkumar","html_url":"https://github.com/iamadarshkumar","followers_url":"https://api.github.com/users/iamadarshkumar/followers","following_url":"https://api.github.com/users/iamadarshkumar/following{/other_user}","gists_url":"https://api.github.com/users/iamadarshkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/iamadarshkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamadarshkumar/subscriptions","organizations_url":"https://api.github.com/users/iamadarshkumar/orgs","repos_url":"https://api.github.com/users/iamadarshkumar/repos","events_url":"https://api.github.com/users/iamadarshkumar/events{/privacy}","received_events_url":"https://api.github.com/users/iamadarshkumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-23T19:26:25Z","updated_at":"2016-07-23T19:26:25Z","closed_at":null,"body":"Object p of class 'Products' is not being initialized inside the onCompleted() method. But it works before Ion.with() :\r\n\r\n`\r\n  Ion.with(MainActivity.this)\r\n                .load(\"http://dummylink.com/\")\r\n                .asString()\r\n                .setCallback(new FutureCallback<String>() {\r\n                    @Override\r\n                    public void onCompleted(Exception e, String result) {\r\n                        Log.v(\"Bug found\",result);\r\n                      Products   p = new Products(\"Oreo\",\"Oreo_Img\",93);\r\n}`\r\n\r\n\r\nThanks."}}
{"actor":{"display_login":"iamadarshkumar"}}