|
|
|
|
@ -7,7 +7,6 @@ import kotlinx.coroutines.Dispatchers |
|
|
|
|
import kotlinx.coroutines.GlobalScope |
|
|
|
|
import kotlinx.coroutines.async |
|
|
|
|
import kotlinx.coroutines.launch |
|
|
|
|
import net.pokeranalytics.android.R |
|
|
|
|
import net.pokeranalytics.android.calculus.Calculator |
|
|
|
|
import net.pokeranalytics.android.calculus.ComputableGroup |
|
|
|
|
import net.pokeranalytics.android.calculus.Report |
|
|
|
|
@ -58,14 +57,6 @@ class StatisticsFragment : TableReportFragment() { |
|
|
|
|
this.statsAdapter?.notifyDataSetChanged() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun initData() { |
|
|
|
|
super.initData() |
|
|
|
|
|
|
|
|
|
this.stringAll = getString(R.string.all) |
|
|
|
|
this.stringCashGame = getString(R.string.cash_game) |
|
|
|
|
this.stringTournament = getString(R.string.tournament) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun convertReportIntoRepresentables(report: Report): ArrayList<RowRepresentable> { |
|
|
|
|
val rows: ArrayList<RowRepresentable> = ArrayList() |
|
|
|
|
report.results.forEach { result -> |
|
|
|
|
|