Thread
#compose
    j

    Jason Inbody

    1 year ago
    I'm trying to build a background video player and copying from this code https://github.com/takahirom/jetpack-compose-exoplayer-sample/blob/master/app/src/main/java/com/github/takahirom/composeexoplayer/MainActivity.kt. But I'm trying to track down imports that have changed. I can't seem to find
    import androidx.compose.runtime.savedinstancestate.savedInstanceState
    and I didn't see any name changes from the update logs. Did this name change? The android studio also cant find it...
    Colton Idle

    Colton Idle

    1 year ago
    On mobile, but if you search for me here I asked a similar question like two/three times and I kind of documented my journey along the way since I couldn't get it to work at all. Maybe you can follow along by searching my name?
    Albert Chang

    Albert Chang

    1 year ago
    Should be equal to
    rememberSavable { mutableStateOf(value) }
    .
    j

    Jason Inbody

    1 year ago
    I actually found a newer example of the video player in the jetpack compose demo apps that's kinda working but a little choppy (could just be my simulator is slow)
    Colton Idle

    Colton Idle

    1 year ago
    Try on a real device. It's always choppy on emulator