|
|
|
@ -518,8 +518,9 @@ class HandHistoryFragment : RealmFragment(), RowRepresentableDelegate, KeyboardL |
|
|
|
override fun positionSelected(position: Position) { |
|
|
|
override fun positionSelected(position: Position) { |
|
|
|
val rowRepresentableIndex = this.model.nextActionIndexForPosition(position) |
|
|
|
val rowRepresentableIndex = this.model.nextActionIndexForPosition(position) |
|
|
|
this.model.rowRepresentableForPosition(rowRepresentableIndex)?.let { |
|
|
|
this.model.rowRepresentableForPosition(rowRepresentableIndex)?.let { |
|
|
|
onRowSelected(rowRepresentableIndex, it, HHKeyboard.ACTION.ordinal) |
|
|
|
onRowSelected(rowRepresentableIndex, it, ComputedAction.Tag.ACTION.ordinal) |
|
|
|
this.handHistoryAdapter.notifyItemChanged(rowRepresentableIndex) |
|
|
|
this.handHistoryAdapter.notifyItemChanged(rowRepresentableIndex) |
|
|
|
|
|
|
|
this.scrollToPosition(rowRepresentableIndex) |
|
|
|
} ?: throw PAIllegalStateException("Rowrepresentable not fouind at index $rowRepresentableIndex") |
|
|
|
} ?: throw PAIllegalStateException("Rowrepresentable not fouind at index $rowRepresentableIndex") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|