|
|
|
|
@ -39,7 +39,6 @@ import net.pokeranalytics.android.ui.view.RowRepresentable |
|
|
|
|
import net.pokeranalytics.android.ui.view.holder.RowViewHolder |
|
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.ViewIdentifier |
|
|
|
|
import net.pokeranalytics.android.util.extensions.formatted |
|
|
|
|
import timber.log.Timber |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum class HandRowType(var layoutRes: Int) : ViewIdentifier, RowRepresentable { |
|
|
|
|
@ -174,10 +173,6 @@ class HandHistoryAdapter( |
|
|
|
|
|
|
|
|
|
delegate?.onRowSelected(this.currentPosition, row, tag) |
|
|
|
|
|
|
|
|
|
// val text = dataSource.charSequenceForRow(row, itemView.context, tag) |
|
|
|
|
// editText.hint = text |
|
|
|
|
// editText.text = null |
|
|
|
|
|
|
|
|
|
setEditTextBackground(editText = editText, isEnabled = true, isFocused = true) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -471,7 +466,7 @@ class HandHistoryAdapter( |
|
|
|
|
|
|
|
|
|
amountEditText.setOnTouchListener { _, event -> |
|
|
|
|
|
|
|
|
|
Timber.d("=== event.action = ${event.action}") |
|
|
|
|
// Timber.d("=== event.action = ${event.action}") |
|
|
|
|
if (event.action == MotionEvent.ACTION_UP) { |
|
|
|
|
// Both are required, otherwise requestFocus() fails |
|
|
|
|
amountEditText.isFocusable = true |
|
|
|
|
|