element-x-ada/features/messages/impl/src
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
..
main TimelineItemPresenterFactories (#1609) 2023-10-19 15:57:34 +02:00
test/kotlin/io/element/android/features/messages [Voice messages] Add voice recording UI (#1546) 2023-10-12 15:17:18 +00:00