Laurent 6 years ago
parent dc41ad36e6
commit b5bfc875d8
  1. 22
      app/src/main/java/net/pokeranalytics/android/ui/fragment/SessionFragment.kt

@ -246,28 +246,6 @@ class SessionFragment : RealmFragment(), RowRepresentableDelegate {
}
}
/***
* Selects the next row to ease the data capture
*/
private fun selectNextRow(currentRow: RowRepresentable) {
if (this.viewModel.sessionId == null) {
GlobalScope.launch(Dispatchers.Main) {
delay(200)
when (currentRow) {
// TransactionRow.BANKROLL -> onRowSelected(0, TransactionRow.TYPE)
// TransactionRow.TYPE -> onRowSelected(0, TransactionRow.AMOUNT)
// TransactionRow.AMOUNT -> onRowSelected(0, TransactionRow.DATE)
// TransactionRow.DATE -> onRowSelected(0, TransactionRow.COMMENT)
}
}
}
}
/**
* Update the UI with the session data
* Should be called after the initialization of the session

Loading…
Cancel
Save