You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val itemType1 =ViewTypeBuilder().itemType(1).view(R.layout.one).bind { view ->// bind to the view} val itemType2 =ViewTypeBuilder().itemType(2).view(R.layout.two).bind { view ->// bind to the viewThen the main builder can maybe take a list of this viewtypes e.g.
Klaster.get()
.itemCount { articles.size }
.viewTypes(listOf(itemType1, itemType2, etc, etc))
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: