This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package pro.respawn.app.feature.account.thirdparty | |
import androidx.compose.runtime.Composable | |
import co.touchlab.kermit.Logger | |
import kotlinx.cinterop.ExperimentalForeignApi | |
import kotlinx.cinterop.cstr | |
import kotlinx.cinterop.memScoped | |
import kotlinx.cinterop.reinterpret | |
import kotlinx.coroutines.CancellationException | |
import kotlinx.coroutines.suspendCancellableCoroutine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// warning - the descendants must be retained across config changes | |
@Stable | |
interface DestinationScope : KoinScopeComponent { | |
val coroutineScope: CoroutineScope | |
override fun equals(other: Any?): Boolean | |
override fun hashCode(): Int | |
} | |
val LocalDestinationScope = staticCompositionLocalOf<DestinationScope> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.compose.animation.core.animateDpAsState | |
import androidx.compose.animation.fadeIn | |
import androidx.compose.animation.fadeOut | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.WindowInsets | |
import androidx.compose.foundation.layout.consumeWindowInsets | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.foundation.layout.navigationBars | |
import androidx.compose.foundation.layout.padding | |
import androidx.compose.foundation.layout.windowInsetsPadding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
defaultConfig { | |
applicationId = "com.nek.example" //be sure to follow the same order as here, or the id will be "null" | |
buildConfigField("String", "APPLICATION_ID_DEFAULT", "\"${android.defaultConfig.applicationId}\"") | |
//... | |
} | |
} | |
buildTypes { |