{"action":"created","issue":{"url":"https://api.github.com/repos/google/dagger/issues/262","labels_url":"https://api.github.com/repos/google/dagger/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/google/dagger/issues/262/comments","events_url":"https://api.github.com/repos/google/dagger/issues/262/events","html_url":"https://github.com/google/dagger/issues/262","id":116770126,"number":262,"title":"Provide an example relevant to java/android instead of coffee brewing","user":{"login":"AdityaAnand1","id":13274079,"avatar_url":"https://avatars.githubusercontent.com/u/13274079?v=3","gravatar_id":"","url":"https://api.github.com/users/AdityaAnand1","html_url":"https://github.com/AdityaAnand1","followers_url":"https://api.github.com/users/AdityaAnand1/followers","following_url":"https://api.github.com/users/AdityaAnand1/following{/other_user}","gists_url":"https://api.github.com/users/AdityaAnand1/gists{/gist_id}","starred_url":"https://api.github.com/users/AdityaAnand1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdityaAnand1/subscriptions","organizations_url":"https://api.github.com/users/AdityaAnand1/orgs","repos_url":"https://api.github.com/users/AdityaAnand1/repos","events_url":"https://api.github.com/users/AdityaAnand1/events{/privacy}","received_events_url":"https://api.github.com/users/AdityaAnand1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/dagger/labels/area:%20android","name":"area: android","color":"c7def8"},{"url":"https://api.github.com/repos/google/dagger/labels/area:%20examples","name":"area: examples","color":"bfd4f2"},{"url":"https://api.github.com/repos/google/dagger/labels/status:%20accepted","name":"status: accepted","color":"d4c5f9"},{"url":"https://api.github.com/repos/google/dagger/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"gk5885","id":2279476,"avatar_url":"https://avatars.githubusercontent.com/u/2279476?v=3","gravatar_id":"","url":"https://api.github.com/users/gk5885","html_url":"https://github.com/gk5885","followers_url":"https://api.github.com/users/gk5885/followers","following_url":"https://api.github.com/users/gk5885/following{/other_user}","gists_url":"https://api.github.com/users/gk5885/gists{/gist_id}","starred_url":"https://api.github.com/users/gk5885/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gk5885/subscriptions","organizations_url":"https://api.github.com/users/gk5885/orgs","repos_url":"https://api.github.com/users/gk5885/repos","events_url":"https://api.github.com/users/gk5885/events{/privacy}","received_events_url":"https://api.github.com/users/gk5885/received_events","type":"User","site_admin":false},"milestone":null,"comments":30,"created_at":"2015-11-13T13:39:38Z","updated_at":"2015-12-10T20:29:55Z","closed_at":null,"body":"The awkward coffee [example](http://google.github.io/dagger/) is quite confusing and it's difficult to relate to anything we do in Java or Android. It makes it hard to understand dagger and doesn't clearly indicate the advantages of dependency injection.\r\n\r\nSurely, we want dagger to be accessible to a larger audience. Maybe we can find an example that makes sense [in a context beyond coffee brewing](https://www.reddit.com/r/androiddev/comments/3sirxe/top_5_android_libraries_every_android_developer/)? Perhaps something like SharedPrefences or a clear comparison of accomplishing the same task with and without dagger to illustrate it's advantage."},"comment":{"url":"https://api.github.com/repos/google/dagger/issues/comments/163740833","html_url":"https://github.com/google/dagger/issues/262#issuecomment-163740833","issue_url":"https://api.github.com/repos/google/dagger/issues/262","id":163740833,"user":{"login":"ZakTaccardi","id":461114,"avatar_url":"https://avatars.githubusercontent.com/u/461114?v=3","gravatar_id":"","url":"https://api.github.com/users/ZakTaccardi","html_url":"https://github.com/ZakTaccardi","followers_url":"https://api.github.com/users/ZakTaccardi/followers","following_url":"https://api.github.com/users/ZakTaccardi/following{/other_user}","gists_url":"https://api.github.com/users/ZakTaccardi/gists{/gist_id}","starred_url":"https://api.github.com/users/ZakTaccardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZakTaccardi/subscriptions","organizations_url":"https://api.github.com/users/ZakTaccardi/orgs","repos_url":"https://api.github.com/users/ZakTaccardi/repos","events_url":"https://api.github.com/users/ZakTaccardi/events{/privacy}","received_events_url":"https://api.github.com/users/ZakTaccardi/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T20:29:54Z","updated_at":"2015-12-10T20:29:54Z","body":"Excellent.\r\n\r\nMy biggest request is a recommendation on how to manage sub-scopes on Android. Dagger is a breeze to use when you just store a singleton component in your `Application`, but it gets more complicated as you get down into an activity/fragment/scope. And then testing it.\r\n\r\nThanks!"}}