{"action":"created","issue":{"url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/177","repository_url":"https://api.github.com/repos/bluelinelabs/Conductor","labels_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/177/comments","events_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/177/events","html_url":"https://github.com/bluelinelabs/Conductor/issues/177","id":194774925,"number":177,"title":"getTargetController returns null","user":{"login":"PaulWoitaschek","id":743462,"avatar_url":"https://avatars.githubusercontent.com/u/743462?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulWoitaschek","html_url":"https://github.com/PaulWoitaschek","followers_url":"https://api.github.com/users/PaulWoitaschek/followers","following_url":"https://api.github.com/users/PaulWoitaschek/following{/other_user}","gists_url":"https://api.github.com/users/PaulWoitaschek/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulWoitaschek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulWoitaschek/subscriptions","organizations_url":"https://api.github.com/users/PaulWoitaschek/orgs","repos_url":"https://api.github.com/users/PaulWoitaschek/repos","events_url":"https://api.github.com/users/PaulWoitaschek/events{/privacy}","received_events_url":"https://api.github.com/users/PaulWoitaschek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-10T15:45:06Z","updated_at":"2016-12-14T19:33:01Z","closed_at":null,"body":"In which cases can `getTargetController` return `null`?\r\n\r\nMy current setup is like this:\r\nI have a `ControllerPagerAdapter` which has a reference to its host controller.\r\nInside this PagerAdapter I create new controllers in `getItem` and call `setTargetController` with the host controller as argument.\r\n\r\nNow I'm receiving crashes because `getTargetController` returns sometimes `null` when called from `onAttach`. How is that possible? Is this a conductor bug?"},"comment":{"url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/comments/267132548","html_url":"https://github.com/bluelinelabs/Conductor/issues/177#issuecomment-267132548","issue_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/177","id":267132548,"user":{"login":"EricKuck","id":2039026,"avatar_url":"https://avatars.githubusercontent.com/u/2039026?v=3","gravatar_id":"","url":"https://api.github.com/users/EricKuck","html_url":"https://github.com/EricKuck","followers_url":"https://api.github.com/users/EricKuck/followers","following_url":"https://api.github.com/users/EricKuck/following{/other_user}","gists_url":"https://api.github.com/users/EricKuck/gists{/gist_id}","starred_url":"https://api.github.com/users/EricKuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricKuck/subscriptions","organizations_url":"https://api.github.com/users/EricKuck/orgs","repos_url":"https://api.github.com/users/EricKuck/repos","events_url":"https://api.github.com/users/EricKuck/events{/privacy}","received_events_url":"https://api.github.com/users/EricKuck/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T19:33:01Z","updated_at":"2016-12-14T19:33:01Z","body":"All `ChangeHandlerFrameLayout` does is prevent touches during `ChangeHandler` execution. I'm not sure how this could be related to the issue you reported?"}}
{"actor":{"display_login":"EricKuck"}}