|
|
|
@ -26,22 +26,22 @@ fun Session.parameterRepresentation(context: Context): String { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private fun Session.significantFields(): List<SessionRow> { |
|
|
|
private fun Session.significantFields(): List<SessionRow> { |
|
|
|
when (this.type) { |
|
|
|
when (this.type) { |
|
|
|
Session.Type.CASH_GAME.ordinal -> { |
|
|
|
Session.Type.TOURNAMENT.ordinal -> { |
|
|
|
return listOf( |
|
|
|
return listOf( |
|
|
|
SessionRow.GAME, |
|
|
|
SessionRow.GAME, |
|
|
|
SessionRow.INITIAL_BUY_IN, |
|
|
|
SessionRow.INITIAL_BUY_IN, |
|
|
|
SessionRow.BANKROLL, |
|
|
|
SessionRow.BANKROLL, |
|
|
|
SessionRow.TABLE_SIZE, |
|
|
|
SessionRow.TABLE_SIZE, |
|
|
|
SessionRow.TOURNAMENT_NAME |
|
|
|
SessionRow.TOURNAMENT_NAME, |
|
|
|
|
|
|
|
SessionRow.TOURNAMENT_TYPE |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
Session.Type.TOURNAMENT.ordinal -> { |
|
|
|
Session.Type.CASH_GAME.ordinal -> { |
|
|
|
return listOf( |
|
|
|
return listOf( |
|
|
|
SessionRow.GAME, |
|
|
|
SessionRow.GAME, |
|
|
|
SessionRow.BLINDS, |
|
|
|
SessionRow.BLINDS, |
|
|
|
SessionRow.BANKROLL, |
|
|
|
SessionRow.BANKROLL, |
|
|
|
SessionRow.TABLE_SIZE, |
|
|
|
SessionRow.TABLE_SIZE |
|
|
|
SessionRow.TOURNAMENT_TYPE |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|