Skip to content
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

noRippleClickable 확장함수 생성 #28

Open
kangyuri1114 opened this issue Jan 11, 2025 · 0 comments
Open

noRippleClickable 확장함수 생성 #28

kangyuri1114 opened this issue Jan 11, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@kangyuri1114
Copy link
Member

kangyuri1114 commented Jan 11, 2025

  • 원래 noRippleClickable 이 modifier에 있던 것 같은데 지금은 안보이네요
  • 대부분 컴포넌트들 다 ripple효과가 없는걸로 알아서 확장함수 만들어두고 쓰면 좋을 것 같아요

예시상황

Column(
        modifier = modifier
            .clickable(
                interactionSource = remember { MutableInteractionSource() },  // 이부분이 매번 쓰기 번거로우니
                indication = null, // 이부분이 매번 쓰기 번거로우니
                onClick = onClick
            ),
        horizontalAlignment = Alignment.CenterHorizontally,
        verticalArrangement = Arrangement.Center
    ) 
@kangyuri1114 kangyuri1114 added the good first issue Good for newcomers label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant