|
|
|
@ -58,7 +58,8 @@ class DataListFragment : PokerAnalyticsFragment(), LiveRowRepresentableDataSourc |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun viewTypeForPosition(position: Int): Int { |
|
|
|
override fun viewTypeForPosition(position: Int): Int { |
|
|
|
return RowViewType.DATA.ordinal |
|
|
|
val viewType = (this.items[position] as RowRepresentable).viewType |
|
|
|
|
|
|
|
return if (viewType != -1) viewType else RowViewType.DATA.ordinal |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun indexForRow(row: RowRepresentable): Int { |
|
|
|
override fun indexForRow(row: RowRepresentable): Int { |
|
|
|
|