This file contains hidden or 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 android.content.Context | |
| import androidx.compose.foundation.Canvas | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.graphics.Color | |
| import androidx.compose.ui.platform.ComposeView | |
| import androidx.compose.ui.geometry.Offset | |
| import androidx.compose.ui.geometry.Size | |
| import android.view.View |
This file contains hidden or 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 android.content.SharedPreferences | |
| import com.google.crypto.tink.Aead | |
| import com.google.crypto.tink.KeysetHandle | |
| import com.google.crypto.tink.RegistryConfiguration | |
| import com.google.crypto.tink.TinkProtoKeysetFormat | |
| import com.google.crypto.tink.aead.AeadConfig | |
| import com.google.crypto.tink.aead.PredefinedAeadParameters | |
| import com.google.crypto.tink.integration.android.AndroidKeystore | |
| import com.google.crypto.tink.subtle.Base64 | |
| import com.google.crypto.tink.subtle.Hex |
This file contains hidden or 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 android.app.Activity | |
| import android.os.Bundle | |
| import androidx.activity.BackEventCompat | |
| import androidx.activity.OnBackPressedCallback | |
| import androidx.activity.OnBackPressedDispatcher | |
| import androidx.activity.compose.LocalOnBackPressedDispatcherOwner | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.runtime.remember | |
| import androidx.compose.ui.platform.LocalContext | |
| import androidx.compose.ui.platform.LocalLifecycleOwner |
This file contains hidden or 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.foundation.layout.ColumnScope | |
| import androidx.compose.material.ExperimentalMaterialApi | |
| import androidx.compose.material.ModalBottomSheetState | |
| import androidx.compose.material.ModalBottomSheetValue | |
| import androidx.compose.material.rememberModalBottomSheetState | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.runtime.DisposableEffect | |
| import androidx.compose.runtime.LaunchedEffect | |
| import androidx.compose.runtime.State | |
| import androidx.compose.runtime.mutableStateOf |
This file contains hidden or 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 Shared | |
| import SwiftUI | |
| /* | |
| A custom implementation of the stack view wrapper with: | |
| - no indices for `onBack` action | |
| - no `getTitle` | |
| - no `NavigationStack` | |
| - custom UINavigationController | |
This file contains hidden or 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 ru.alexpanov.composepuzzlers | |
| import androidx.compose.foundation.background | |
| import androidx.compose.foundation.border | |
| import androidx.compose.foundation.layout.Arrangement | |
| import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.Column | |
| import androidx.compose.foundation.layout.IntrinsicSize | |
| import androidx.compose.foundation.layout.Row | |
| import androidx.compose.foundation.layout.Spacer |