-
Notifications
You must be signed in to change notification settings - Fork 0
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
[feat] TabLayout, EditText 생성 및 화면 이동 구현 #19
Conversation
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.
이걸 컴포즈 해내다니!!! 진짜 최고에요❤️
|
||
private fun navigateToSearch() { | ||
findNavController().navigate(R.id.action_home_to_search) | ||
} |
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.
이거 한 번만 사용되는 것 같은데 그래도 함수화 하는게 좋을까요??? 저는 한 줄정도면 그냥 함수화 안하고 쓸 때도 많았거든요😅
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.
저는 가독성을 위해 최대한 함수화 해놓는 편입니다 !
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.
이 친구... 뭐하는 친구인가요..?????? ripple 없애는 역할인거 맞나요????
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.
컴포즈에서는 클릭할 때 기본적으로 ripple이 생기는데 해당 리플을 제거해주는 확장함수 입니다.
@Composable | ||
fun KreamTabBar( | ||
indicatorColor: Color = Color.Black, | ||
animationSpec: AnimationSpec<Dp> = tween(durationMillis = 250, easing = FastOutSlowInEasing), |
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.
이런것도 있었네요!! 애니메이션 쓴거 진짜 최고다😻
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.
낑낑대던거 결국 해결 했구나!!
배지현 그만잘해
.wrapContentWidth(Alignment.CenterHorizontally), | ||
color = White, | ||
) { | ||
SubcomposeLayout( |
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.
이 레이아웃은 처음 보는데 SubComposeLayout은 무슨 장점이 있어 사용하신건가요?
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.
복잡한 레이아웃을 정의할 때 주로 사용한다고 하는데 ㅜ ㅈㅓ도 컴포즈는 아직 잘 몰라서리 ㅜ
Related issue 🛠
Work Description ✏️
Screenshot 📸
Screen_recording_20240518_093222.mp4
Uncompleted Tasks 😅
To Reviewers 📢