-
Notifications
You must be signed in to change notification settings - Fork 41
π 2λ¨κ³ - νμκ°μ (λ·°) #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
malibinYun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λ¦¬λ·°κ° λ¦μ΄μ Έμ μ£μ‘ν©λλ€. π₯
2λ¨κ³ λ―Έμ
μ μ»΄ν¬λνΈλ₯Ό μ λλμ΄ μ£Όμ
¨λ€μ!
μ½λ©νΈ λ¨κ²¨μ£Όμ κ² μ²λΌ, ν
μ€νΈλ 3λ¨κ³μμ ꡬνν΄λ³΄μλ©΄ μ’κ² μ΄μ :)
λ€μ λ―Έμ
μ μν΄ λ°λ‘ λ¨Έμ§νκ² μ΅λλ€~
| val (userName, setUserName) = remember { mutableStateOf("") } | ||
| val (email, setEmail) = remember { mutableStateOf("") } | ||
| val (password, setPassword) = remember { mutableStateOf("") } | ||
| val (passwordConfirm, setPasswordConfirm) = remember { mutableStateOf("") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ€~ MutableStateμ destructureλ₯Ό νμ©ν΄μ£Όμ ¨λ€μ! π
| @Composable | ||
| fun SignUpTextField( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
곡ν΅μΌλ‘ μ¬μ©λ μ»΄ν¬λνΈλ₯Ό μ λΆλ¦¬ν΄μ£Όμ ¨λ€μ! π
|
|
||
| @Composable | ||
| private fun SignUpButton() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
κ° μ»΄ν¬λνΈλ³λ‘ Previewλ₯Ό λ§λ€μ΄λ³΄λ 건 μ΄λ¨κΉμ?
| onTextChanged = { setUserName(it) }, | ||
| text = userName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ¬κΈ°λ μκ³ κ³μκ² μ§λ§, λλ€μ λμμ λ°μ§ μκ³ λ°λ‘ μΈν ν μλ μλ΅λλ€!
| onTextChanged = { setUserName(it) }, | |
| text = userName, | |
| onTextChanged = setUserName, | |
| text = userName, |
| <!-- signup --> | ||
| <string name="signup_header_title">Welcome to Compose π</string> | ||
| <string name="signup_user_name">Username</string> | ||
| <string name="signup_email">Email</string> | ||
| <string name="signup_password">Password</string> | ||
| <string name="signup_password_confirm">Password Confirm</string> | ||
| <string name="signup_button">Sign Up</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λ¬Έμμ΄μ resource νμΌμ λΆλ¦¬ν΄μ£Όμ ¨λ€μ π
πππ°π³π¬ ππ¦π΄π€π³πͺπ±π΅πͺπ°π―
π·ππ€π³π¦π¦π―π΄π©π°π΅
123123.mp4
π¬ππ° ππ¦π·πͺπ¦πΈπ¦π³π΄
μλ νμΈμ λ§λ¦¬λΉ :)
νΉμ 2λ¨κ³μ UI ν μ€νΈκΉμ§ ν¬ν¨μΌκΉμ? 3λ¨κ³λΆν° ν μ€νΈ ꡬνμΈ κ² κ°μ νμ¬λ λΉΌλμ μνμ λλ€!