|
|
|
@ -116,7 +116,10 @@ class StatisticsFragment : FilterableFragment(), RealmAsyncListener { |
|
|
|
// Business |
|
|
|
// Business |
|
|
|
|
|
|
|
|
|
|
|
override fun asyncListenedEntityChange(realm: Realm) { |
|
|
|
override fun asyncListenedEntityChange(realm: Realm) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isAdded) { // Fixes: java.lang.IllegalStateException Fragment StatisticsFragment{9d3e5ec} not attached to a context. |
|
|
|
launchStatComputation() |
|
|
|
launchStatComputation() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// val report = createSessionGroupsAndStartCompute(realm) |
|
|
|
// val report = createSessionGroupsAndStartCompute(realm) |
|
|
|
// tableReportFragment.report = report |
|
|
|
// tableReportFragment.report = report |
|
|
|
|