|
|
|
@ -77,6 +77,7 @@ class TransactionDataFragment : EditableDataFragment(), StaticRowRepresentableDa |
|
|
|
super.onRowValueChanged(value, row) |
|
|
|
super.onRowValueChanged(value, row) |
|
|
|
rowRepresentableAdapter.refreshRow(row) |
|
|
|
rowRepresentableAdapter.refreshRow(row) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (primaryKey == null) { // automatically change the row for new data |
|
|
|
GlobalScope.launch(Dispatchers.Main) { |
|
|
|
GlobalScope.launch(Dispatchers.Main) { |
|
|
|
delay(200) |
|
|
|
delay(200) |
|
|
|
when(row) { |
|
|
|
when(row) { |
|
|
|
@ -88,4 +89,6 @@ class TransactionDataFragment : EditableDataFragment(), StaticRowRepresentableDa |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |