|
|
|
@ -164,11 +164,11 @@ class HandHistoryFragment : RealmFragment(), RowRepresentableDataSource, RowRepr |
|
|
|
|
|
|
|
|
|
|
|
private fun findNextActionToEdit(startIndex: Int, keyboard: HHKeyboard? = null) { |
|
|
|
private fun findNextActionToEdit(startIndex: Int, keyboard: HHKeyboard? = null) { |
|
|
|
this.model.findIndexForEdition(startIndex, keyboard)?.let { |
|
|
|
this.model.findIndexForEdition(startIndex, keyboard)?.let { |
|
|
|
this.keyboard.show(it, this.requireActivity()) |
|
|
|
this.keyboard.show(it) |
|
|
|
this.refreshCells(startIndex) |
|
|
|
|
|
|
|
} ?: run { |
|
|
|
} ?: run { |
|
|
|
this.keyboard.hide() |
|
|
|
this.keyboard.hide() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.refreshCells(startIndex) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// RowRepresentableDataSource |
|
|
|
// RowRepresentableDataSource |
|
|
|
@ -222,7 +222,7 @@ class HandHistoryFragment : RealmFragment(), RowRepresentableDataSource, RowRepr |
|
|
|
else -> null |
|
|
|
else -> null |
|
|
|
} |
|
|
|
} |
|
|
|
Timber.d("row $position selected, show keyboard = $keyboard") |
|
|
|
Timber.d("row $position selected, show keyboard = $keyboard") |
|
|
|
keyboard?.let { this.keyboard.show(keyboard, requireActivity()) } |
|
|
|
keyboard?.let { this.keyboard.show(keyboard) } |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|