| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 |
- github Actions
- IOS
- transition animation
- Navigation
- shared element
- Hilt
- Android
- 안드로이드
- KMM
- CICD
- compose
- Today
- Total
목록전체 글 (5)
몽드로이드
안드로이드 compose에서 Bottom NavigationBar를 사용해보겠습니다. 먼저 navigation을 통해 전환할 화면들을 정의했습니다.sealed class Screen(val route: String, val title: String, val icon: ImageVector) { object Home : Screen("home", "Home", Icons.Filled.Home) object Add : Screen("add", "Add", Icons.Filled.Add) object Settings : Screen("settings", "Settings", Icons.Filled.Settings)} @Composablefun currentRoute(navController: ..
새로 진행중이던 안드로이드 프로젝트에 Hilt를 적용하려다가 문제가 생겼습니다. error: [Hilt] Unsupported metadata version. Check that your Kotlin version is >= 1.0: java.lang.IllegalStateException: Unsupported metadata version. Check that your Kotlin version is >= 1.0 적용하려던 hilt 버전은 2.44였고,kotlin 버전이 1.0 이상인지 확인하라는 메세지인거 같은데 이미 제 kotlin 버전은 1.9.0를 사용하고 있었는데 위의 에러가 발생하니 당황스럽습니다.프로젝트 설정 방법은 틀리지 않았고 구글링을 해본결과 공식사이트도 샘플 코드의 버전은..
kotlin과 compose를 사용해서 로직 및 UI를 공유해서 android와 ios 모두 개발할 수 있는 방법이 있다고 해서 한번 알아보려고 합니다.1. 프로젝트 생성KMM 프로젝트 생성 Kotlin Multiplatform Wizard | JetBrains kmp.jetbrains.com위의 링크로 들어가시면 프로젝트를 생성할 수 있습니다.IOS 부분에서 Shared UI 체크박스를 체크해야합니다.2. 프로젝트 구성프로젝트 구성은 위와 같습니다.composeApp 하위폴더에 androidMain, commonMain, iosMain이 존재하는데공통 비지니스 로직은 commonMain에 각 os별로 다른 부분은 androidMain, iosMain에서 구현하도록 해둔것 같습니다. commonMain..
위처럼 화면 전환간에 이미지가 공유되면서 이어지는 애니메이션을 compose에서 해보겠습니다. 사용 라이브러리//glideimplementation ("com.github.skydoves:landscapist-glide:2.3.3")implementation ("com.github.bumptech.glide:compose:1.0.0-alpha.1")implementation ("com.github.bumptech.glide:okhttp3-integration:4.11.0")//navigationimplementation ("androidx.navigation:navigation-compose:2.7.7")//SharedTransitionLayoutimplementation("androidx.compose..