{"id":13428843,"url":"https://github.com/damianpetla/kotlin-dagger-example","last_synced_at":"2026-03-11T20:02:23.257Z","repository":{"id":24585827,"uuid":"27993911","full_name":"damianpetla/kotlin-dagger-example","owner":"damianpetla","description":"Example of Android project showing integration with Kotlin and Dagger 2","archived":false,"fork":false,"pushed_at":"2018-02-12T11:47:46.000Z","size":130,"stargazers_count":535,"open_issues_count":5,"forks_count":57,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-10-27T06:39:16.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/damianpetla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-14T12:39:37.000Z","updated_at":"2024-09-19T11:49:08.000Z","dependencies_parsed_at":"2022-08-23T02:21:45.827Z","dependency_job_id":null,"html_url":"https://github.com/damianpetla/kotlin-dagger-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianpetla%2Fkotlin-dagger-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianpetla%2Fkotlin-dagger-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianpetla%2Fkotlin-dagger-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianpetla%2Fkotlin-dagger-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damianpetla","download_url":"https://codeload.github.com/damianpetla/kotlin-dagger-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243815576,"owners_count":20352194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T01:01:06.544Z","updated_at":"2025-12-17T02:00:39.274Z","avatar_url":"https://github.com/damianpetla.png","language":"Kotlin","funding_links":[],"categories":["Libraries","\u003ca name=\"projects\"\u003e\u003c/a\u003eProjects \u003csup\u003e[Back ⇈](#contents)\u003c/sup\u003e","DEMO"],"sub_categories":["\u003ca name=\"franeworks\"\u003e\u003c/a\u003eFrameworks \u003csup\u003e[Back ⇈](#contents)\u003c/sup\u003e","测试"],"readme":"kotlin-dagger-example\n=====================\n\nThis project demonstrate how to setup an Android Project with Kotlin and Dagger 2.\n\nIt's based on Dagger 2 [example](https://github.com/google/dagger/tree/master/examples/android-simple)\n\n##Known issues/limitations\n\nWhen `lateinit` modifier is used, your variable cannot be used in `init{}` block. It will not compile. So in that case I suggest to move code from that block into a separate function and then call that function from `init{}` block.\n\n##More than Dagger\n\nThis sample project includes some more dependencies which are very usefull. It's like a base setup for almost every project using Kotlin.\nSo you will find there Anko libraries. You can uncomment Anko's DSL libraries if you need them.\nThere is also a set of Rx dependencies. Rx works really great with Kotlin.\nAt last but not least there my favourite networking dependencies from Square.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamianpetla%2Fkotlin-dagger-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamianpetla%2Fkotlin-dagger-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamianpetla%2Fkotlin-dagger-example/lists"}