removing redundancy
This commit is contained in:
parent
05fdb77c98
commit
ab4f1887a7
@ -34,11 +34,11 @@ class StatsDialogFragment(): DialogFragment() {
|
|||||||
mGamePiecesPlacedTextView = dialogView.findViewById(R.id.gamePiecesPlacedTextView)
|
mGamePiecesPlacedTextView = dialogView.findViewById(R.id.gamePiecesPlacedTextView)
|
||||||
mDismissButton = dialogView.findViewById(R.id.dismissButton)
|
mDismissButton = dialogView.findViewById(R.id.dismissButton)
|
||||||
|
|
||||||
mGamesPlayedTextView.text = "Games Played: ${mStats.mGamesPlayed.toString()}"
|
mGamesPlayedTextView.text = "Games Played: ${mStats.mGamesPlayed}"
|
||||||
mGamesWonXTextView.text = "Games Won - X: ${mStats.mGamesWonX.toString()}"
|
mGamesWonXTextView.text = "Games Won - X: ${mStats.mGamesWonX}"
|
||||||
mGamesWonOTextView.text = "Games Won - O: ${mStats.mGamesWonO.toString()}"
|
mGamesWonOTextView.text = "Games Won - O: ${mStats.mGamesWonO}"
|
||||||
mGamesCatsTextView.text = "Games Cats: ${mStats.mGamesCats.toString()}"
|
mGamesCatsTextView.text = "Games Cats: ${mStats.mGamesCats}"
|
||||||
mGamePiecesPlacedTextView.text = "Games Pieces Placed: ${mStats.mGamePiecesPlaced.toString()}"
|
mGamePiecesPlacedTextView.text = "Game Pieces Placed: ${mStats.mGamePiecesPlaced}"
|
||||||
|
|
||||||
builder.setView(dialogView)
|
builder.setView(dialogView)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user