{"id":19979083,"url":"https://github.com/enginebai/dagger2hilt","last_synced_at":"2026-05-13T06:33:09.798Z","repository":{"id":148943964,"uuid":"613210935","full_name":"enginebai/Dagger2Hilt","owner":"enginebai","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-06T04:00:01.000Z","size":10211,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"dagger","last_synced_at":"2025-01-12T10:26:33.024Z","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/enginebai.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-13T05:56:08.000Z","updated_at":"2025-01-01T12:57:33.000Z","dependencies_parsed_at":"2025-01-12T10:24:53.547Z","dependency_job_id":"b0f539fa-7af1-4765-9dff-b510c47d52f4","html_url":"https://github.com/enginebai/Dagger2Hilt","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginebai%2FDagger2Hilt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginebai%2FDagger2Hilt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginebai%2FDagger2Hilt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginebai%2FDagger2Hilt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enginebai","download_url":"https://codeload.github.com/enginebai/Dagger2Hilt/tar.gz/refs/heads/dagger","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241412575,"owners_count":19958952,"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-11-13T03:36:26.764Z","updated_at":"2026-05-13T06:33:09.770Z","avatar_url":"https://github.com/enginebai.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a POC project to demonstrate how to migrate from Dagger to Hilt, there are several branches/tags served as different purposes that you can checkout:\n\n* `dagger`: The Dagger implementation, it finished the project with Dagger injection, and you can start migration from here.\n* `hilt-migration/gradually`: We migrate the modules gradually to `Hilt`, including modules, android classes, custom components and non-android classes.\n* `koin-migration/gradually`: We migrate the modules gradually to `Koin`, including modules, android classes, custom components and non-android classes (via `KoinFacade` classes).\n\n## Specifications\n### `SingletonFragmentsActivity`\n1. Singleton color are applied on TextViews in `SingletonFragment` \n2. `SingleFragment` displays the singleton user.\n3. The color and the user stay the same when you exit and re-enter the screen again.\n4. Click the next button to navigate to `SingletonDetailActivity`.\n5. Click `SingleFragment` to navigate to next fragment, and the color and the user stay the same, and then to `SingletonDetailActivity`.\n\n### `SingleDetailActivity`\n1. Display the singleton color on the background of `SingletonDetailActivity`, and the color should be the same.\n2. Display the singleton user in `SingletonDetailActivity`, and the user should be the same.\n3. Click the background to check if the age of the singleton user \u003e= 18 in `SingletonDetailActivity`.\n\n### `DomainActivity`\n1. Domain color are applied on the background of `DomainDetailActivity`.\n2. `DomainDetailActivity` displays the DSAs, and click to enter the `DomainFragmentsActivity`.\n3. There is a button (with DSA name as text) to add new DSA.\n\n### `DomainFragmentsActivity`\n1. Display the DSAs on TextView and it's as same as the DSAs in `DomainActivity`.\n2. Click the next button to append new DSA and set the TextView to display the latest DSAs.\n3. The DSAs in `DomainActivity` should be the same as the DSAs in `DomainFragmentsActivity` when going back.\n\n### Change Domain\n1. Refresh all the dependencies annotated in `@DomainScope`. (DSA, color, cards, user)\n\n### DSA\n1. Append the dsa displayed on the Button.\n\n### Magic\n1. Refresh all the colors.\n\n### Card Feature\n1. Enter the `CardActivity`, and display card list.\n\n### Dynamic Feature\n1. Display card linked list on activity and fragment.\n2. Manipulate the linked list to add new card to head and rear of list.\n3. Re-create the card linked list when the activity is re-created.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenginebai%2Fdagger2hilt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenginebai%2Fdagger2hilt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenginebai%2Fdagger2hilt/lists"}