GithubClient
GithubClient copied to clipboard
How user component is restored?
What if user opens RepositoriesListActivity and then goes in background. System can kill application process, and then when user will try to open app back to foreground - RepositoriesListActivity will be restored and GithubClientApplication.get(this).getUserComponent() will return null object, which will produce nullpointer exception. Is am I missing something?