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.runtime.* | |
import androidx.compose.ui.platform.LocalLifecycleOwner | |
import androidx.lifecycle.* | |
import androidx.lifecycle.viewmodel.compose.LocalViewModelStoreOwner | |
import androidx.lifecycle.viewmodel.compose.viewModel | |
import kotlinx.coroutines.* | |
import kotlinx.coroutines.flow.* | |
@Composable | |
fun rememberViewModelStoreOwner( |
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
fun HtmlTag.Builder.addAttribute(attribute: Pair<String, String>) { | |
attributes = attributes.plus(attribute) | |
} | |
fun HtmlTag.Builder.addChild(child: HtmlElement) { | |
children = children.plus(child) | |
} |
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
public static final void printText(@NotNull SimpleClass $this$printText) { | |
Intrinsics.checkNotNullParameter($this$printText, "$this$printText"); | |
String var1 = $this$printText.getText(); | |
System.out.println(var1); | |
} |