therealbluepandabear
04/11/2021, 11:36 PMstartActivityForResult(
CheatActivity.newIntent(this@MainActivity, quizViewModel.currentQuestionAnswer),
REQUEST_CODE_CHEAT,
ActivityOptions.makeCustomAnimation(
this,
R.anim.fragment_fade_enter,
R.anim.fragment_fade_exit
).toBundle()
)
val intent = CheatActivity.newIntent(this@MainActivity, quizViewModel.currentQuestionAnswer)
val animation = ActivityOptions.makeCustomAnimation(this, R.anim.fragment_fade_enter, R.anim.fragment_fade_exit).toBundle()
startActivityForResult(intent, REQUEST_CODE_CHEAT, animation)
ephemient
04/11/2021, 11:51 PMtherealbluepandabear
04/11/2021, 11:58 PMephemient
04/12/2021, 12:01 AMtherealbluepandabear
04/12/2021, 12:02 AMephemient
04/12/2021, 12:02 AMtherealbluepandabear
04/12/2021, 12:03 AMephemient
04/12/2021, 12:06 AMtherealbluepandabear
04/12/2021, 12:08 AMMatteo Mirk
04/12/2021, 9:16 AMstartActivityForResult(
intent = CheatActivity.newIntent(this@MainActivity, quizViewModel.currentQuestionAnswer),
code = REQUEST_CODE_CHEAT,
bundle = ActivityOptions.makeCustomAnimation(
this,
R.anim.fragment_fade_enter,
R.anim.fragment_fade_exit
).toBundle()
)
As for the Android-specific part, I know next to nothing so forgive me in advance (for example arg names are surely wrong).ephemient
04/13/2021, 2:34 AMMatteo Mirk
04/13/2021, 7:22 AM