From b5bfc875d84bf6cdd96c0c13cf6e967e8e425bd5 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 25 May 2020 11:46:17 +0200 Subject: [PATCH] cleanup --- .../android/ui/fragment/SessionFragment.kt | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/fragment/SessionFragment.kt b/app/src/main/java/net/pokeranalytics/android/ui/fragment/SessionFragment.kt index 6757b428..14b10a1e 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/fragment/SessionFragment.kt +++ b/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