Browse Source

Add documentation to LoggedInAppScopeFlowNode.

pull/1149/head
Benoit Marty 1 year ago
parent
commit
e47d137c6a
  1. 5
      appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt

5
appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt

@ -42,6 +42,11 @@ import io.element.android.libraries.matrix.api.MatrixClient @@ -42,6 +42,11 @@ import io.element.android.libraries.matrix.api.MatrixClient
import io.element.android.libraries.matrix.ui.di.MatrixUIBindings
import kotlinx.parcelize.Parcelize
/**
* `LoggedInAppScopeFlowNode` is a Node responsible to set up the Dagger
* [io.element.android.libraries.di.SessionScope]. It has only one child: [LoggedInFlowNode].
* This allow to inject objects with SessionScope in the constructor of [LoggedInFlowNode].
*/
@ContributesNode(AppScope::class)
class LoggedInAppScopeFlowNode @AssistedInject constructor(
@Assisted buildContext: BuildContext,

Loading…
Cancel
Save