|
|
|
@ -31,6 +31,7 @@ import net.pokeranalytics.android.ui.view.rowrepresentable.HeaderRowRepresentabl |
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.SeparatorRowRepresentable |
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.SeparatorRowRepresentable |
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.SessionRow |
|
|
|
import net.pokeranalytics.android.ui.view.rowrepresentable.SessionRow |
|
|
|
import net.pokeranalytics.android.util.* |
|
|
|
import net.pokeranalytics.android.util.* |
|
|
|
|
|
|
|
import timber.log.Timber |
|
|
|
import java.util.* |
|
|
|
import java.util.* |
|
|
|
import java.util.Currency |
|
|
|
import java.util.Currency |
|
|
|
import kotlin.collections.ArrayList |
|
|
|
import kotlin.collections.ArrayList |
|
|
|
@ -763,6 +764,7 @@ open class Session : RealmObject(), SessionInterface, Manageable, StaticRowRepre |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
SessionRow.GAME -> { |
|
|
|
SessionRow.GAME -> { |
|
|
|
|
|
|
|
Timber.d("Game: $value") |
|
|
|
if (value is ArrayList<*>) { |
|
|
|
if (value is ArrayList<*>) { |
|
|
|
limit = try { |
|
|
|
limit = try { |
|
|
|
(value[0] as Int?) |
|
|
|
(value[0] as Int?) |
|
|
|
@ -774,7 +776,7 @@ open class Session : RealmObject(), SessionInterface, Manageable, StaticRowRepre |
|
|
|
} catch (e: Exception) { |
|
|
|
} catch (e: Exception) { |
|
|
|
null |
|
|
|
null |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (value is Game?) { |
|
|
|
} else if (value is Game) { |
|
|
|
game = value |
|
|
|
game = value |
|
|
|
} else if (value == null) { |
|
|
|
} else if (value == null) { |
|
|
|
limit = null |
|
|
|
limit = null |
|
|
|
|