Skip to content

Commit 1817274

Browse files
committed
Fix
1 parent bdede08 commit 1817274

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/main/java/com/hoc/pagination_mvi/ui/main/MainContract.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ interface MainContract {
5050
) : Item(R.layout.recycler_item_horizontal_list) {
5151

5252
sealed class HorizontalItem(@LayoutRes val viewType: Int) {
53-
data class Post(val post: PostVS) : HorizontalItem(TODO())
53+
data class Post(val post: PostVS) : HorizontalItem(R.layout.recycler_item_horizontal_post)
5454

55-
data class Placeholder(val state: PlaceholderState) : HorizontalItem(TODO())
55+
data class Placeholder(val state: PlaceholderState) :
56+
HorizontalItem(R.layout.recycler_item_horizontal_placeholder)
5657
}
5758

5859
}

0 commit comments

Comments
 (0)