|
|
|
@ -61,6 +61,11 @@ class ReplayerFragment : RealmFragment() { |
|
|
|
inflater.inflate(R.menu.toolbar_replayer, menu) |
|
|
|
inflater.inflate(R.menu.toolbar_replayer, menu) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override fun onPause() { |
|
|
|
|
|
|
|
super.onPause() |
|
|
|
|
|
|
|
pause() // avoid crashes due to the runnable calling a null reference |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun initData() { |
|
|
|
private fun initData() { |
|
|
|
|
|
|
|
|
|
|
|
val id = arguments?.getString(BundleKey.HAND_HISTORY_ID.value) ?: throw PAIllegalStateException("Attempt to start a replayer without hh id") |
|
|
|
val id = arguments?.getString(BundleKey.HAND_HISTORY_ID.value) ?: throw PAIllegalStateException("Attempt to start a replayer without hh id") |
|
|
|
|