Repository navigation
Migrate Dependency injection intro and manual DI snippets - #1170
Open
djubinville wants to merge 1 commit into
Open
djubinville wants to merge 1 commit into
djubinville wants to merge 1 commit into
Conversation
djubinville
force-pushed
the
djubinville/di-intro-manual-snippets
branch
2 times, most recently
from
October 15, 2026 18:16
76cd11c to
2e9a3f9
Compare
Contributor
Author
Local Build & Spotless Verification (
|
This was referenced Oct 15, 2026
djubinville
force-pushed
the
djubinville/di-intro-manual-snippets
branch
5 times, most recently
from
October 21, 2026 17:46
146c634 to
60941ce
Compare
djubinville
force-pushed
the
djubinville/di-intro-manual-snippets
branch
from
October 22, 2026 12:38
60941ce to
9492bed
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code snippets are for:
List of modifications:
Carandmainexample (android_di_intro_car_no_di,android_di_intro_car_constructor_di,android_di_intro_car_field_di,android_di_intro_service_locator) in its ownprivate objectoutside the region tags so all four snippets compile in the same file with zero visible changes from the guide page.{ ... }class bodies with{ /* ... */ }inandroid_di_manual_repositoriesso theUserRepository,UserLocalDataSource, andUserRemoteDataSourcedeclarations compile.AppContainerinandroid_di_manual_app_container_factoryandandroid_di_manual_login_containerwith plain// [START_EXCLUDE]/// [END_EXCLUDE]blocks defininglocalDataSourceandremoteDataSourcesouserRepositorycompiles while still rendering...on the guide page.android_di_manual_app_container_basic,android_di_manual_my_application,android_di_manual_factory,android_di_manual_app_container_factory, andandroid_di_manual_login_container, and formatted indentation with Spotless.Snippets not migrated: