2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

[fenix] No issue: elaborate on Components class doc.

This is to clarify a misunderstanding I found in PR review.
This commit is contained in:
Michael Comella 2020-09-29 14:12:20 -07:00 committed by Michael Comella
parent 70dbf0d765
commit af732f0748

View File

@ -31,7 +31,11 @@ import java.util.concurrent.TimeUnit
private const val DAY_IN_MINUTES = 24 * 60L
/**
* Provides access to all components.
* Provides access to all components. This class is an implementation of the Service Locator
* pattern, which helps us manage the dependencies in our app.
*
* Note: these aren't just "components" from "android-components": they're any "component" that
* can be considered a building block of our app.
*/
@Mockable
class Components(private val context: Context) {