Rename poll item layout to be more generic

This commit is contained in:
Maxime NATUREL 2022-12-30 15:12:12 +01:00
parent bd9c53a96c
commit 6c0c5e5064
3 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ import im.vector.app.core.epoxy.VectorEpoxyModel
import im.vector.app.core.epoxy.onClick import im.vector.app.core.epoxy.onClick
@EpoxyModelClass @EpoxyModelClass
abstract class ActivePollItem : VectorEpoxyModel<ActivePollItem.Holder>(R.layout.item_poll_active) { abstract class ActivePollItem : VectorEpoxyModel<ActivePollItem.Holder>(R.layout.item_poll) {
@EpoxyAttribute @EpoxyAttribute
lateinit var formattedDate: String lateinit var formattedDate: String

View file

@ -15,7 +15,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
tools:itemCount="5" tools:itemCount="5"
tools:listitem="@layout/item_poll_active" /> tools:listitem="@layout/item_poll" />
<TextView <TextView
android:id="@+id/roomPollsEmptyTitle" android:id="@+id/roomPollsEmptyTitle"