element-x-ada/features/messages/impl
Marco Romano a814c4a95a
TimelineItemPresenterFactories (#1609)
DI infrastructure to allow injection of presenters into the timeline.
Add an `@AssistedFactory` of type `TimelineItemPresenterFactory` to a `Presenter` class and bind this factory into the TimelineItemPresenterFactory map multi binding using:

```
@Binds
@IntoMap
@TimelineItemEventContentKey(MyTimelineItemContent::class)
```

A map multibinding of such factories will be available in the `LocalTimelineItemPresenterFactories` composition local for further use down the UI tree.
2023-10-19 15:57:34 +02:00
..
src TimelineItemPresenterFactories (#1609) 2023-10-19 15:57:34 +02:00
.gitignore Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
build.gradle.kts Remove not used dependencies to some accompanist libraries. 2023-10-10 13:48:10 +02:00
consumer-rules.pro Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00