Other cleanup
This commit is contained in:
parent
ad8ad3d443
commit
8d533e8a20
11 changed files with 14 additions and 20 deletions
|
|
@ -13,7 +13,7 @@ import kotlin.reflect.KClass
|
|||
|
||||
/**
|
||||
* Annotation to add a factory of type [TimelineItemPresenterFactory] to a
|
||||
* Dagger map multi binding keyed with a subclass of [TimelineItemEventContent].
|
||||
* dependency injection map multi binding keyed with a subclass of [TimelineItemEventContent].
|
||||
*/
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
@MapKey
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import io.element.android.libraries.di.RoomScope
|
|||
import kotlin.reflect.KClass
|
||||
|
||||
/**
|
||||
* Dagger module that declares the [TimelineItemPresenterFactory] map multi binding.
|
||||
* Container that declares the [TimelineItemPresenterFactory] map multi binding.
|
||||
*
|
||||
* Its sole purpose is to support the case of an empty map multibinding.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import io.element.android.libraries.architecture.Presenter
|
|||
/**
|
||||
* A factory for a [Presenter] associated with a timeline item.
|
||||
*
|
||||
* Implementations should be annotated with [AssistedFactory] to be created by Dagger.
|
||||
* Implementations should be annotated with [dev.zacsweers.metro.AssistedFactory] to be created by the dependency injection library.
|
||||
*
|
||||
* @param C The timeline item's [TimelineItemEventContent] subtype.
|
||||
* @param S The [Presenter]'s state class.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue