Skip to content

Commit

Permalink
Use SingletonComponent instead of ApplicationComponent in comments
Browse files Browse the repository at this point in the history
Closes #2128

RELNOTES=n/a
PiperOrigin-RevId: 354147061
  • Loading branch information
takahirom authored and Dagger Team committed Jan 27, 2021
1 parent 1b3c19d commit 7b6e4bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
@HiltAndroidApp
public class SimpleApplication extends Application {

// Shows that we can inject ApplicationComponent bindings into an application.
// Shows that we can inject SingletonComponent bindings into an application.
@Inject @Model String model;
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import javax.inject.Inject

@HiltAndroidApp
class KotlinApplication : Application() {
// Shows that we can inject ApplicationComponent bindings into an application.
// Shows that we can inject SingletonComponent bindings into an application.
@Inject
@Model
@JvmField
Expand Down

0 comments on commit 7b6e4bb

Please sign in to comment.