Jetpack Compose Primer · Create a Compose Activity |

This is a companion discussion topic for the original entry at

Looks like CraneWrapper has been removed from Jetpack Compose. Is there some equivalent?

I’ll try to remember to post back here if I find some answer. For now, I am trying to join the Kotlin Slack ( to post on the #compose channel.

According to the folks from the Slack channel, CraneWrapper can be omitted now. Also, there is some NullPointerException that occurs unless you use MaterialDemoActivity as the base class for HelloActivity.

class HelloActivity : MaterialDemoActivity() {
    override fun materialContent() {

@iheart2code Thank you for sharing your solution - much appreciated! :]