본문 바로가기

전체 글

(178)
Android studio Giraff 부터 Kotlin DSL이 표준 2023년 5월 29일 현재 Beta인 Android Giraff 에서는 Kotlin DSL 이 Groovy를 대체하는 공식 표준이 됩니다. https://developer.android.com/studio/preview Android Studio Preview | Android Developers Get early access to the latest features and improvements in Android Studio. developer.android.com 물론 아직 Groovy도 쓸 수 있지만, 이제 Kotlin으로 넘어가야 할 때가 왔네요. 예전에는 체감상 스크립트가 커지면 커질수록 왠지 Kotlin DSL이 좀 느린 느낌이 들었는데, 혹시 이런 현상이 많이 사라졌을까 싶어 검색을 해보..
KMM - Kdoctor의 cocoapods-generate 가 설치되지 않을 때 Kotlin Multiplatform Mobile - KMM 이 이제 Beta가 되었습니다. "Kotlin Multiplatform Mobile has reached Beta and is on track to becoming Stable!" https://twitter.com/kotlin/status/1579496189619503105?cxt=HHwWgoDUpc_av-srAAAA 설치는 해 보아야 겠다 싶어 한 번 깔아보았는데요, (참고로 저는 Mac 환경입니다) https://kotlinlang.org/docs/multiplatform-mobile-setup.html 1. 안드로이드 스튜디오 설치 (Android Studio Dolphin 2021.3.1 Patch 1 for Mac) https://d..
모듈 디펜던시 관계와 그래프를 얻는 플러그인 https://github.com/vanniktech/gradle-dependency-graph-generator-plugin GitHub - vanniktech/gradle-dependency-graph-generator-plugin: Gradle plugin that generates dependency graphs from your project. Gradle plugin that generates dependency graphs from your project. - GitHub - vanniktech/gradle-dependency-graph-generator-plugin: Gradle plugin that generates dependency graphs from your project. git..
안드로이드 스튜디오를 위한 플러그인 2022 2~3년 이상 쓰고 있는 플러그인만 기록해 두기 위해 작성합니다. 1. Fast scrolling: 컨트롤(커맨드) 마우스 스크롤 하면 세배정도 빠르게 스크롤 해 주는 플러그인 https://plugins.jetbrains.com/plugin/7573-fast-scrolling Fast-Scrolling - IntelliJ IDEs Plugin | Marketplace Fast-Scrolling is a small plugin, that allows you to scroll up and down faster in a big file, by holding a configurable key (the default key is [CTRL]) and moving the... plugins.jetbrains.co..
[Google play] Android, Cross app scripting 으로 인해 Reject 된 경우 한줄요약: 웹뷰에 UrlQuerySanitizer.getUrlAndSpaceLegal().sanitize(url) 를 쓰세요 fun WebView.loadFinalUrl(url: String) { val finalUrl: String = UrlQuerySanitizer.getUrlAndSpaceLegal().sanitize(url) loadUrl(finalUrl) } 구글덕분에 Android 로 밥먹고 살고 있지만, 구글플레이의 모호한 정책은 가끔 참 싫어집니다. 명확하게 원인을 알려주지 않고, 거대한 문서링크만 하나 던져주면서 정책위반을 했으니 수정하라는 식으로 Reject 되는 경우가 있기 때문입니다. 요즘은 그래도 코드 상에서 어떤 라인이 정책을 위반했는지 알려주는 경우가 있기 때문에 전보다는 좀 ..
삼성동 노티드 도넛 아침 산책을 하던 중 우연히, 사람들이 줄 서 있는 광경을 목격했습니다. 아, 요샌 사람들이 모두 마스크를 끼고 있으니, 사진찍을 때 혹시나 초상권을 침해할까 하는 걱정이 좀 덜합니다. 아무튼. 사람들이 줄 선 곳에는 줄서도 손해가 아니라는 원칙(?)에 따라 일단 줄을 서 봅니다. 일단 줄 선 다음 검색을 해 보니, 여기가 요새 핫한 노티드 도넛 Knotted Donut 이라고 합니다. 도넛이라고는 던킨, 크리스피 밖에 없는 줄 알았는데 생소한 것이 새로 생겼나봅니다. 오 10시부터 오후 1시까지 얼리버드 행사를 합니다. 얼리버드 치고 너무 늦게까지 하는게 아닌가 싶지만, 뭐 주말 오후 1시에 일어난 새면 일찍 일어난 새로 쳐줘도 된다고 봅니다. 원래 매장 안 사진을 찍으려고 했는데, 줄 선 사람들이 굉..
Structured vs Unstructured coroutine stackoverflow.com/questions/59368838/difference-between-coroutinescope-and-coroutinescope-in-kotlin Difference between CoroutineScope and coroutineScope in Kotlin Can anyone give clarity between functions CoroutineScope() and coroutineScope()? When I tried to check in source, I found that both of them are functions of CoroutineScope.kt. Additionally, stackoverflow.com Difference between Coroutin..
자바 인터페이스 이름관련: I로 시작하는 interface? impl로 끝나는 클래스? stackoverflow.com/questions/2814805/java-interfaces-implementation-naming-convention Java Interfaces/Implementation naming convention How do you name different classes / interfaces you create? Sometimes I don't have implementation information to add to the implementation name - like interface FileHandler and class SqlFileHandler.... stackoverflow.com Upvote: 363 Q: Java interfaces / Implementati..