#1 ๊ฐ์
Compose์ ๋ถ์ ํจ๊ณผ | Jetpack Compose | Android Developers
์ด ํ์ด์ง๋ Cloud Translation API๋ฅผ ํตํด ๋ฒ์ญ๋์์ต๋๋ค. Compose์ ๋ถ์ ํจ๊ณผ ์ปฌ๋ ์ ์ ์ฌ์ฉํด ์ ๋ฆฌํ๊ธฐ ๋ด ํ๊ฒฝ์ค์ ์ ๊ธฐ์ค์ผ๋ก ์ฝํ ์ธ ๋ฅผ ์ ์ฅํ๊ณ ๋ถ๋ฅํ์ธ์. ๋ถ์ ํจ๊ณผ๋ ๊ตฌ์ฑ ๊ฐ๋ฅํ ํจ์์ ๋ฒ
developer.android.com
Jetpack Compose๋ ๊ต์ฅํ ์ ์ธ์ ์ด๊ธฐ ๋๋ฌธ์, ์ธ์ฌํ๊ณ ๋ณต์กํ ๋์ ๊ตฌํ์ด ์ฝ์ง ์๋ค. Side-effects๋ ๊ทธ ๊ตฌํ์ ์ฝ๊ฒ ๋ง๋ค์ด์ค๋ค. Side effects๋ฅผ ๋ฒ์ญํ๋ฉด, '๋ถ์์ฉ'์ด๋ผ๋ ๋ง์ด ๋๋๋ฐ, ์ด ์ฌ์ค์ ๋ง์น Side effects๊ฐ ์๋ฌ ๋ฐ ๊ทธ ์ฒ๋ฆฌ์ ๊ด๋ จ๋์ด์๋ค๋ ๋ฌ์์ค๋ฅผ ์ฐ์์ผํ๋ค. ํ์ง๋ง Jetpack Compose์ Side-effects๋ ๋ค๋ฅด๋ค. ์ฌ๊ธฐ์์ Side effects๋ Compose Runtime์ ๋์์ด UI ์ฒ๋ฆฌ ์ธ์ (side)์ธ ํจ๊ณผ(effect)๋ฅผ ๋ผ ์ ์๊ฒ ๋ง๋๋ ํจ์๋ค์ ์งํฉ์ ๋งํ๋ค.
์๋๋ Side-effects๋ค์ ๋ชฉ๋ก์ด๋ค.
#2 LaunchedEffect
#2-1 ์์

์๋์ ์๋ํ๋ ์ ๋ฌด๋ฅผ ๋งก์ ์ง์์๊ฒ ์ ๊ณต๋ ์ฑ ํ๋ฉด์ด๋ค. ์ฒซ๋ฒ์งธ ๋ฒํผ์ ๋๋ฅด๋ฉด ์ข์ ๋ฐฐ์ ์๋ฃ / ๋ฏธ์๋ฃ๊ฐ ์ ํ๋๋ค. ๋๋ฒ์งธ ๋ฒํผ์ ๋๋ฅด๋ฉด ์๋์๊ฒ ๋๋ฆฐ ๊ฐ์ ๊ฐฏ์๋ฅผ ์นด์ดํธ์ ํ ์ ์๋ค. ์ธ๋ฒ์งธ ๋ฒํผ์ ๋๋ฅด๋ฉด ํ์ฌ ์๋ ์๋๊ฐ ์ข ๋ฃ๋๊ณ ๋ค์ ์๋ ์๋๋ก ๋์ด๊ฐ๋ค. ์ด ๋, "n๋ฒ ์๋ ๋ง์ด ์์"์ด๋ผ๋ ํ ์คํธ ๋ฉ์์ง๋ ๊ฐ์ด ์ถ๋ ฅ๋๋ค.
์ด ํ ์คํธ ๋ฉ์์ง๋ฅผ ๊ตฌํํ๋ ๋ฐฉ๋ฒ์ ํฌ๊ฒ ์๋์ 2๊ฐ์ง๋ฅผ ์๊ฐํ ์ ์๋ค.
1. ๋ฒํผ ํด๋ฆญ ๋ฆฌ์ค๋๋ฅผ ์ด์ฉํด ์ถ๋ ฅ
2. Jetpack Compose๊ฐ ๋ณด์ ํ๊ณ ์๋ State์ธ '์๋ ๋ฒํธ'๊ฐ ๋ณํ ๋ ์ถ๋ ฅ
์ฒซ๋ฒ์งธ ๋ฐฉ๋ฒ์ด ์ง๊ด์ ์ด๊ธฐ๋ ํ์ง๋ง, ๋ ์ธ๋ จ๋ ๋ฐฉ๋ฒ์ 2๋ฒ์งธ ๋ฐฉ๋ฒ์ด๋ค. ์๋ํ๋ฉด ํ ์คํธ ๋ฉ์์ง์ ๋ด์ฉ์ ์๊ฐํ์ ๋, ํด๋น ํ ์คํธ ๋ฉ์์ง๊ฐ ๋ฐ๋์ ๋ฒํผ ํด๋ฆญ ์์๋ง ๋์ฌ๋งํ ๊ฒ์ด ์๋๊ธฐ ๋๋ฌธ์ด๋ค. ์๋ฅผ ๋ค์ด ์๋ฌด๋ฐ ์ ๋ ฅ์์ด 5๋ถ์ด ์ง๋๋ฉด ์๋์ผ๋ก ๋ค์ ์๋์ผ๋ก ๋์ด๊ฐ๋ ๋์์, ์ฑ ์ ๋ฐ์ดํธ๋ฅผ ํตํด ์ถ๊ฐํ๋ ค๊ณ ํ๋ค ํ์. ์ด ๋๋ "n๋ฒ ์๋ ๋ง์ด ์์"์ด๋ผ๋ ํ ์คํธ ๋ฉ์์ง๊ฐ ๋์์ผ ํ ํ ๋ฐ, ๋ฒํผ ํด๋ฆญ ๋ฆฌ์ค๋๋ฅผ ์ด์ฉํ๋ ๋ฐฉ์์ ์ผ๋ค๋ฉด ํ ์คํธ ๋ฉ์์ง๊ฐ ๋จ์ง ์์ ๊ฒ์ด๋ค.
๋ฐ๋ฉด ๋๋ฒ์งธ ๋ฐฉ๋ฒ์ State๊ฐ ๋ณํ๊ธฐ๋ง ํ๋ฉด ํ ์คํธ ๋ฉ์์ง๋ฅผ ์ถ๋ ฅํ ์ ์์ผ๋ฏ๋ก, ๊ทธ ๊ตฌํ์ ๋ฏธ๋์๋ ์ ์ฐํ๊ฒ ์ฌ์ฌ์ฉํ ์ ์๋ค. ์ด ๊ตฌํ์ ์ํด ์ฌ์ฉํ๋ ๊ฒ์ด LaunchedEffect๋ค. LaunchedEffect๋ State๊ฐ ๋ณํ ๋๋ง ์ํ๋๋ ํจ์๋ค. ์ด ๋๋ฒ์งธ ๋ฐฉ๋ฒ์ ํตํด ๊ตฌํํ ์ด ์ฑ์ ์ฝ๋๋ ์๋์ ๊ฐ๋ค.
#2-2 ์ฝ๋
// package com.example.sideeffects
import android.os.Bundle
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextAlign
import com.example.sideeffects.ui.theme.SideEffectsTheme
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
SideEffectsTheme {
Column(
modifier = Modifier.fillMaxSize(),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.SpaceEvenly
) {
val latestCustomerId = remember {
mutableStateOf(7)
}
val seatAssignment = remember {
mutableStateOf(false)
}
val snackCount = remember {
mutableStateOf(0)
}
LaunchedEffect(key1 = latestCustomerId.value) {
Toast.makeText(
this@MainActivity,
"${latestCustomerId.value}๋ฒ ์๋ ๋ง์ด ์์",
Toast.LENGTH_SHORT
).show()
seatAssignment.value = false
snackCount.value = 0
}
Text(
text = "์ง์์ฉ ์๋ ๋ง์ด Checker\n(ํ์ฌ ${latestCustomerId.value}๋ฒ ์๋)",
textAlign = TextAlign.Center,
)
Button(onClick = {
seatAssignment.value = !seatAssignment.value
}) {
Text(
text = if (seatAssignment.value) {
"์ข์ ๋ฐฐ์ ์๋ฃ"
} else {
"์ข์ ๋ฐฐ์ ๋ฏธ์๋ฃ"
}
)
}
Button(onClick = {
snackCount.value++
}) {
Text(text = "๊ฐ์ ${snackCount.value}๊ฐ ๋๋ฆผ")
}
Button(onClick = {
latestCustomerId.value++
}) {
Text(text = "${latestCustomerId.value}๋ฒ ์๋ ๋ง์ด ์๋ฃ")
}
}
}
}
}
}
LaunchedEffect๋ ์ฌ๋ฌ ๊ฐ์ key๋ฅผ ๋ฑ๋กํ ์ ์๋ค. ์ฌ๊ธฐ์๋ ๋ณํ๋ฅผ ๊ฐ์งํ State๊ฐ ํ๋ ๋ฟ์ด๋ผ์ key๋ฅผ ํ๋๋ง ๋ฑ๋กํ๋ค. key๋ฅผ ์ฌ๋ฌ ๊ฐ ๋ฑ๋กํ ๊ฒฝ์ฐ, ํ๋์ key๋ผ๋ ๋ณ๊ฒฝ๋์๋ค๋ฉด Recomposition๋ ๋๋ง๋ค LaunchedEffect๊ฐ ์ํ๋๋ค. ๋, ์๋ฌด๋ฆฌ ์ฌ๋ฌ๋ฉด Recomposition๋์ด๋ key๋ค์ ์๋ฌด๋ฐ ๋ณํ๊ฐ ์๋ค๋ฉด LaunchedEffect๋ ์ํ๋์ง ์๋๋ค.
์ข์ ๋ฐฐ์ ์ ์๋ฃ / ๋ฏธ์๋ฃ๋ฅผ ์ ์ฅํ๋ State์ธ seatAssignment, ๊ฐ์ ์ ๊ณต ๊ฐฏ์๋ฅผ ์ ์ฅํ๋ State์ธ snackCount๋ key์ ๋ฑ๋ก๋์ง ์์๊ธฐ์ LaunchedEffect์๋ ์์ ํ ๋
๋ฆฝ์ ์ผ๋ก ์๋ํ๋ค.
#3 rememberCoroutineScope
#3-1 ์์
rememberCoroutineScope๋ Composable์ ์๋ช ์ฃผ๊ธฐ๋ฅผ ๋ฐ๋ฅด๋ ์ฝ๋ฃจํด ์์ญ์ด๋ค. remember๋ผ๋ ๋จ์ด๊ฐ ๋ค์ด๊ฐ๋ ๊ฒ์์ ๋ณผ ์ ์๋ฏ, Recomposition์ ์ํฅ๋ฐ์ง ์๋๋ค. rememberCoroutineScope๋ UI ์์ฑ์ ๋น๋๊ธฐ์ ์ฒ๋ฆฌ๋ฅผ ๋ชฉ์ ์ผ๋ก ์ค๊ณ๋์๋ค. UI ์์ ์ Recomposition ์ด์ธ์ ๋ฐฉ๋ฒ์ผ๋ก ๊ตฌํํ๋ ค๋ฉด rememberCoroutineScope๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ด ์ข๋ค. #3-2์ ๋งํฌํ ๊ฒ์๊ธ์์ ์ฌ์ฉ๋ก๋ฅผ ํ์ธํ ์ ์๋ค.
#3-2 ์ฝ๋
[Android] Jetpack Compose - Scaffold
#1 ๊ฐ์#1-1 Scaffold์ ์ฌ์ ์ ์๋ฏธScaffold๋ ๋น๊ณ((๊ฑด์ค) ๋์ ๊ณณ์์ ๊ณต์ฌ๋ฅผ ํ ์ ์๋๋ก ์์๋ก ์ค์นํ ๊ฐ์ค๋ฌผ)๋ผ๋ ๋จ์ด๋ก ๋ฒ์ญ๋๋ค. #1-2 Scaffold in Jetpack Compose Jetpack Compose | Android Developers์ด
kenel.tistory.com
์ ๊ฒ์๊ธ์ #5 snackbarHost์ rememberCoroutineScope๊ฐ ์ฌ์ฉ๋์๋ค.
#4 rememberUpdatedState
#4-1 rememberUpdatedState๋ฅผ ์ฌ์ฉํ์ง ์์ ์์

๋ฒํผ์ ๋๋ฅด๋ฉด 5์ด ๋ค์ ํ ์คํธ ๋ฉ์์ง๋ก ์๊ฐ์ ํ์ํ๋ ์ฑ์ด๋ค.
#4-2 rememberUpdatedState๋ฅผ ์ฌ์ฉํ์ง ์์ ์ฝ๋
// package com.example.sideeffects
import android.os.Bundle
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.Card
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import com.example.sideeffects.ui.theme.SideEffectsTheme
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import java.text.SimpleDateFormat
import java.util.Locale
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
val time = remember {
mutableStateOf("๋ถ๋ฌ์ค๋ ์ค...")
}
LaunchedEffect(Unit) {
while (true) {
delay(1000)
time.value = getCurrentTime()
}
}
SideEffectsTheme {
Column(
modifier = Modifier
.fillMaxSize()
.padding(16.dp),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.SpaceEvenly
) {
Card(
modifier = Modifier
.weight(1f)
.padding(bottom = 8.dp)
) {
RealTimeContainer(time.value)
}
Card(
modifier = Modifier
.weight(2f)
.padding(top = 8.dp)
) {
ButtonContainer(time.value)
}
}
}
}
}
}
@Composable
private fun RealTimeContainer(timeString: String) {
Box(
modifier = Modifier.fillMaxSize()
) {
Text(
modifier = Modifier
.align(Alignment.Center)
.padding(16.dp),
text = "์ง์ง ํ์ฌ ์๊ฐ:\n${timeString}",
textAlign = TextAlign.Center
)
}
}
@Composable
private fun ButtonContainer(timeString: String) {
val coroutineScope = rememberCoroutineScope()
val context = LocalContext.current
Box(
modifier = Modifier.fillMaxSize()
) {
Button(
modifier = Modifier.align(Alignment.Center),
onClick = {
coroutineScope.launch {
delay(5000)
Toast.makeText(context, timeString, Toast.LENGTH_SHORT).show()
}
}
) {
Text(
text = "ํ์ฌ ์๊ฐ\nํ ์คํธ ๋ฉ์์ง๋ก ํ์",
textAlign = TextAlign.Center
)
}
}
}
fun getCurrentTime(): String {
val sdf = SimpleDateFormat("HH:mm:ss", Locale.getDefault())
return sdf.format(System.currentTimeMillis())
}
๋ฒํผ์ด ๋๋ฆฌ๋ฉด ์ฆ์ ํ์ฌ ์๊ฐ์ ์ ์ฅํ๋ค. ๊ทธ๋ฆฌ๊ณ delay(5000) ํ์ ํ ์คํธ ๋ฉ์์ง๋ก ์ถ๋ ฅํ๋ค. ์ด ์ฝ๋๋ ๋ฐ๋ชจ ์ฑ์ ์ฝ๋์ด๋ฏ๋ก delay(5000)๋ฅผ ์ธ์์ ์ผ๋ก ๋ฃ์์ง๋ง, ์ค์ ์ฑ์์๋ delay(5000)๋ฅผ ์๋ตํ๋๋ผ๋, ๋ฒํผ๊ณผ ํ ์คํธ ๋ฉ์์ง ๊ฐ์ ์์ฐจ๊ฐ ์๊ฒจ๋ ์ ์๋ค. ๋น๋๊ธฐ์ ๋ณ๋ ฌ ์ฒ๋ฆฌ๋ ํ์ฐ์ ์ธ ์์ฐจ๊ฐ ๋ฐ์ํ๊ธฐ ๋๋ฌธ์ด๋ค.
#4-3 rememberUpdatedState๋ฅผ ์ฌ์ฉํ ์์

#4-1๊ณผ ๋์ผํ ์ฑ์ด์ง๋ง, rememberUpdatedState๋ฅผ ์ฌ์ฉํ์ฌ ์ธ์์ ์ผ๋ก ๋ถ์ฌํ๋ 5์ด์ ๋๋ ์ด๋ฅผ ์์ด๋ค. rememberUpdatedState๋ (Recomposition์ ์ ๋ฐํ์ง ์์ผ๋ฉด์) ํญ์ ์ต์ ๊ฐ์ ์ ์งํ๋ State๋ค. ์ผ๋ฐ์ ์ธ ๋ณ์๋ State๋ฅผ rememberUpdatedState()์ ์ธ์๋ก ๋ฃ์ด rememberUpdatedState๋ก ๋ง๋ค ์ ์๋ค.
#4-4 rememberUpdatedState๋ฅผ ์ฌ์ฉํ ์ฝ๋
...
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
...
}
}
@Composable
private fun RealTimeContainer(timeString: String) {
...
}
@Composable
private fun ButtonContainer(timeString: String) {
...
val currentTime = rememberUpdatedState(timeString)
Box(
...
) {
Button(
...
onClick = {
coroutineScope.launch {
...
Toast.makeText(context, currentTime.value, Toast.LENGTH_SHORT).show()
}
}
) {
...
}
}
}
fun getCurrentTime(): String {
...
}
๋จ 2์ค์ ์ฝ๋๋ฅผ ์ ์ธํ๊ณ #4-2์ ๋์ผํ ์ฝ๋๋ค. timeString์ rememberUpdatedState๋ก ๊ฐ์ธ๊ณ ์ด๋ฅผ ํ ์คํธ ๋ฉ์์ง์์ ์ฌ์ฉํ ๊ฒ์ด ์ ์ผํ ์ฐจ์ด๋ค. ์ด ์ฝ๋์๋ ์ฌ์ ํ ์กด์ฌํ๋ delay(5000)๋ ๋จผ์ ์คํ์์ผ์ผ ํ๋ ์ด๋ค ๋น๋๊ธฐ์ ์์ ์ ์์ ์๊ฐ์ ๋๋ณํ๋ค. ์ด ์๊ฐ์ ์ํด ์ฌ๋ฐ๋ฅด๊ฒ ์ฐธ์กฐํ ์ ์๋ State์ ์ต์ ๊ฐ์, rememberUpdatedState๋ ์ ๋๋ก ์ฐธ์กฐํ ์ ์๊ฒ ๋ง๋ ๋ค. ์ผ๋ฐ์ ์ธ State๋, Recomposition์ด ์๋ฐ๋์ด์ผ ์ต์ ๊ฐ์ ํ๋ฉด์ ํ์ํ ์ ์๋ค. ๋ฐ๋ฉด, rememberUpdatedState๋ Recomposition ์ ๋ฐ ์์ด ์ต์ ๊ฐ์ ์ ์งํจ์ด ๋ณด์ฅ๋๋ค. ์ฆ, ์ปดํจํ ์์์ ์ผ๋ก๋ ์ด์ ์ด ์๋ ํจ์๋ค.
#5 ๋๋จธ์ง Side-effects๋ค
#5-1 ๊ฐ์
Compose์ ๋ถ์ ํจ๊ณผ | Jetpack Compose | Android Developers
์ด ํ์ด์ง๋ Cloud Translation API๋ฅผ ํตํด ๋ฒ์ญ๋์์ต๋๋ค. Compose์ ๋ถ์ ํจ๊ณผ ์ปฌ๋ ์ ์ ์ฌ์ฉํด ์ ๋ฆฌํ๊ธฐ ๋ด ํ๊ฒฝ์ค์ ์ ๊ธฐ์ค์ผ๋ก ์ฝํ ์ธ ๋ฅผ ์ ์ฅํ๊ณ ๋ถ๋ฅํ์ธ์. ๋ถ์ ํจ๊ณผ๋ ๊ตฌ์ฑ ๊ฐ๋ฅํ ํจ์์ ๋ฒ
developer.android.com
DisposableEffect, SideEffect, produceState, derivedStateOf, snapshotFlow์ ๋ํ ๋ด์ฉ์ ์๋ตํ๋ค. ์ถํ ์ฑ ๊ฐ๋ฐ์ ํ์ํ๋ฉด ๊ฒ์๊ธ์ ์์ ํด ์ถ๊ฐ ์์ ํ๋ ค๊ณ ํ๋ค. ๋ง์ฝ ์์ธํ ๋ด์ฉ์ด ํ์ํ๋ค๋ฉด, ์ ๋งํฌ์์ ํ์ธํ์. ๊ฐ๊ฐ์ ์์์ ๋ํ ๊ฐ๋ตํ ์ค๋ช ์ ์๋์ ๊ฐ๋ค.
#5-2 DisposableEffect
ํน์ ์ปดํฌ๋ํธ๊ฐ ํ๋ฉด์ ํ์๋ ๋์ ํ๋ฉด์์ ์ฌ๋ผ์ง ๋ ๊ฐ๊ฐ ์ํํด์ผ ํ ์์ ์ ์ ์.
#5-3 SideEffect
์ปดํฌ๋ํธ๊ฐ ๊ทธ๋ ค์ง(= UI Rendering) ๋๋ง๋ค ์ํํด์ผ ํ ์์ ์ ์ ์. ์ฆ Recomposition์ด ๋ ๋๋ง๋ค ์ํํด์ผ ํ ์์ ์ ์ ์.
#5-4 produceState
State์ ๋ฐํ์ ์์์ ๋น๋๊ธฐ์ ์ผ๋ก ์์ฑ(produce). ์๋ฅผ ๋ค์ด, ๋คํธ์ํฌ์์ ๋ฐ์ดํฐ๋ฅผ ๊ฐ์ ธ์ค๋ ๋์ ํด๋น ๋ฐ์ดํฐ๋ฅผ ๋ด๋ State๋ฅผ ์์ฑํ ์ ์์.
#5-5 derivedStateOf
๋ค๋ฅธ ์ฌ๋ฌ State๋ฅผ ํตํฉํ ํ๋์ State ์์ฑ. ๋ค์ ๋งํด, ๋ค๋ฅธ ์ฌ๋ฌ State๋ก๋ถํฐ ํ์๋(= derived) State๋ฅผ ์์ฑ. ์กด์ฌ ๋ชฉ์ ์ ๋ถํ์ํ Recomposition์ ๋ง์ ์์์ ์ ์ฝํ๋ ๊ฒ.
#5-6 snapshotFlow
State๋ฅผ Flow๋ก ๋ณํ. ์ฆ, Flow.collectAsState()์ ๋ฐ๋.
#6 ์์ฝ
Jetpack Compose์ Side-effects๋ UI ์ฒ๋ฆฌ ์ธ์ (side)์ธ ํจ๊ณผ(effect)๋ฅผ ๋ผ ์ ์๊ฒ ๋ง๋๋ ํจ์๋ค.
'๊นจ์ ๊ฐ๋ ๐ > Android' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [Android] Jetpack Compose - Navigation ๊ธฐ์ด (1) | 2024.09.12 |
|---|---|
| [Android] Jetpack Compose - ๊ฐ์ฒด ์งํฅ์ UI ๋ ์ด์ด ์ค๊ณ (0) | 2024.09.11 |
| [Android] Jetpack Compose - Scaffold (0) | 2024.09.05 |
| [Android] LiveData - Flow๋ก ๋ง์ด๊ทธ๋ ์ด์ (0) | 2024.08.29 |
| [Android] Jetpack Compose - StateFlow์ SharedFlow (0) | 2024.08.29 |