Skip to content

Commit ea6eefb

Browse files
authored
updates
1 parent b8c4a6e commit ea6eefb

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

contributor-docs/components/components.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ permalink: /components
55

66
# Firebase Components
77

8+
{:toc}
9+
810
Firebase is known for being easy to use and requiring no/minimal configuration at runtime.
911
Just adding SDKs to the app makes them discover each other to provide additional functionality,
1012
e.g. `Firestore` automatically integrates with `Auth` if present in the app.
@@ -127,7 +129,7 @@ At this point `FirebaseApp` will instantiate them and use the `ComponentRuntime`
127129

128130
* **Component A depends on Component B** if `B` depends on an `interface` that `A` implements.
129131
* **For any Interface I, only one component is allowed to implement I**(with the exception of
130-
[Multibindings]({{ site.baseurl }}{% link components/multibindings.md %})). If this invariant is violated, the container will
132+
[Set Dependencies]({{ site.baseurl }}{% link components/dependencies.md %}#set-dependencies)). If this invariant is violated, the container will
131133
fail to start at runtime.
132134
* **There must not be any dependency cycles** among components. See Dependency Cycle Resolution on how this limitation can
133135
be mitigated

contributor-docs/components/dependencies.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ parent: Firebase Components
44

55
# Dependencies
66

7+
{:toc}
8+
79
This page gives an overview of various different dependency types supported by the Components Framework.
810

911
## Background
@@ -142,9 +144,7 @@ See [Dynamic Module Support]({{ site.baseurl }}{% link components/dynamic_module
142144

143145
## Set Dependencies
144146

145-
[Multibindings]({{ site.baseurl }}{% link components/multibindings.md %}) support in the Components Framework allows
146-
registering components to be part of a set, such components are registered explicitly to be a part of a `Set<T>`
147-
as opposed to be a unique value of `T`:
147+
The Components Framework allows registering components to be part of a set, such components are registered explicitly to be a part of a `Set<T>` as opposed to be a unique value of `T`:
148148

149149
```java
150150
// Sdk 1
@@ -185,5 +185,3 @@ Component.builder(MyClass.class)
185185
.factory(c -> MyClass(c.setOf(SomeType.class), c.setOfProvider(SomeOtherType.class)))
186186
.build();
187187
```
188-
189-
See [Multibindings]({{ site.baseurl }}{% link components/multibindings.md %}) for more details.

contributor-docs/components/executors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ parent: Firebase Components
44

55
# Executors
66

7+
{:toc}
8+
79
## Intro
810

911
OS threads are a limited resource that needs to be used with care. In order to minimize the number of threads used by Firebase

contributor-docs/components/multibindings.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

contributor-docs/how_firebase_works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ public class MyRegistrar implements ComponentRegistrar {
7878

7979
This registrar is then registered in `AndroidManifest.xml` of the SDK and is used by `FirebaseApp` to discover all components and construct the dependency graph.
8080

81-
More details in [Firebase Components]({{ site.baseurl }}{% link components/components.md %})).
81+
More details in [Firebase Components]({{ site.baseurl }}{% link components/components.md %}).

0 commit comments

Comments
 (0)