We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdede08 commit 1817274Copy full SHA for 1817274
app/src/main/java/com/hoc/pagination_mvi/ui/main/MainContract.kt
@@ -50,9 +50,10 @@ interface MainContract {
50
) : Item(R.layout.recycler_item_horizontal_list) {
51
52
sealed class HorizontalItem(@LayoutRes val viewType: Int) {
53
- data class Post(val post: PostVS) : HorizontalItem(TODO())
+ data class Post(val post: PostVS) : HorizontalItem(R.layout.recycler_item_horizontal_post)
54
55
- data class Placeholder(val state: PlaceholderState) : HorizontalItem(TODO())
+ data class Placeholder(val state: PlaceholderState) :
56
+ HorizontalItem(R.layout.recycler_item_horizontal_placeholder)
57
}
58
59
0 commit comments