{"action":"closed","issue":{"url":"https://api.github.com/repos/sockeqwe/mosby/issues/131","repository_url":"https://api.github.com/repos/sockeqwe/mosby","labels_url":"https://api.github.com/repos/sockeqwe/mosby/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/sockeqwe/mosby/issues/131/comments","events_url":"https://api.github.com/repos/sockeqwe/mosby/issues/131/events","html_url":"https://github.com/sockeqwe/mosby/issues/131","id":148158030,"number":131,"title":"Defer attachView for MvpActivity until onResume?","user":{"login":"DrewCarlson","id":1407121,"avatar_url":"https://avatars.githubusercontent.com/u/1407121?v=3","gravatar_id":"","url":"https://api.github.com/users/DrewCarlson","html_url":"https://github.com/DrewCarlson","followers_url":"https://api.github.com/users/DrewCarlson/followers","following_url":"https://api.github.com/users/DrewCarlson/following{/other_user}","gists_url":"https://api.github.com/users/DrewCarlson/gists{/gist_id}","starred_url":"https://api.github.com/users/DrewCarlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrewCarlson/subscriptions","organizations_url":"https://api.github.com/users/DrewCarlson/orgs","repos_url":"https://api.github.com/users/DrewCarlson/repos","events_url":"https://api.github.com/users/DrewCarlson/events{/privacy}","received_events_url":"https://api.github.com/users/DrewCarlson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-13T19:20:24Z","updated_at":"2016-04-13T20:06:29Z","closed_at":"2016-04-13T20:06:29Z","body":"I may be missing something here but since `onCreate` will instantiate the Presenter and immediately call `attachView`, the Activity will not have had the chance to call `setContentView`.  This would cause any calls to your MvpView that have a `findViewById` to fail when called in `attachView`."}}