element-x-ada/features/messages/impl/src/main
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
..
kotlin/io/element/android/features/messages/impl TimelineItemPresenterFactories (#1609) 2023-10-19 15:57:34 +02:00
res Sync Strings from Localazy 2023-10-16 00:09:47 +00:00