forked from GitHub-Mirror/riotX-android
12 lines
326 B
Kotlin
12 lines
326 B
Kotlin
|
package im.vector.riotredesign.features.home.room.detail.timeline
|
||
|
|
||
|
import im.vector.matrix.android.api.session.events.model.EnrichedEvent
|
||
|
|
||
|
class TextItemFactory {
|
||
|
|
||
|
fun create(event: EnrichedEvent): TextItem? {
|
||
|
val text = "${event.root.type} events are not yet handled"
|
||
|
return TextItem(text = text)
|
||
|
}
|
||
|
|
||
|
}
|