Pull to refresh

Comments 1

Можно layout id положить прямо в дата класс и избавиться от одного when

sealed class UIModel(@LayoutRes val layoutId: Int)
override fun getItemViewType(position: Int) = arrayList[position].layout Id
Sign up to leave a comment.