2026/03/23

오늘의 이야기

Jetpack Compose에는 6개의 주요 지연 레이아웃 구성요소가 있습니다.  그 6가지 주요 layout  구현에 대한 이해를 원본 출처를 참고해 배워 보세요.



  • LazyColumn — 세로로 스크롤되는 항목 목록

  • LazyRow - 가로로 스크롤되는 항목 목록

  • LazyVerticalGrid - 세로로 스크롤 가능한 요소 그리드

  • LazyHorizontalGrid - 가로로 스크롤 가능한 요소 그리드

  • LazyVerticalStaggeredGrid - 높이가 다양한 항목의 세로 스크롤 가능 그리드입니다.

  • LazyHorizontalStaggeredGrid — 다양한 높이를 가진 항목의 가로 스크롤 가능 그리드입니다.



https://medium.com/@daniel.atitienei/lazy-layouts-guide-in-jetpack-compose-1fd1c3df5497



 


Lazy Layouts Guide in Jetpack Compose


Lazy layouts are a set of UI components that enable you to show huge datasets in your app in an effective manner. Only the objects that are…


medium.com




 


다양한 화면 구현에 도움이 됩니다.  xml layout  에서는 listview에 adapter까지 구현을 하다 보면 손이 많이 가기도 했고, 재 활용성에 효율이 떨어지기도 했습니다. 하지만, jetpack compose로 전환하게 되면서부터는 재활용성에 대한 고민이 대폭 감소하고 있다는 생각이 듭니다. 


 


배워 두면 두고 두고 도움이 될 듯합니다. 


 







오늘의 이야기

Caused by com.google.crypto.tink.shaded.protobuf.z
Protocol message contained an invalid tag (zero).

 


앱을 구현하고 있는 동안에 소셜 로그인을 지원해 달라는 요청으로 앱에 소셜 로그인을 달았습니다. 


로그인 화면



그러던 어느 날 인가 로그인이 되지 않습니다. android 13 이후로부터 보안이 강화되었기도 하고  안드로이드 스튜디오의 버전이 올라가기도 했고요.


 


Android Studio Giraffe | 2022.3.1
Build #AI-223.8836.35.2231.10406996, built on June 29, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
    external.system.auto.import.disabled=true
    debugger.new.tool.window.layout=true
    ide.text.editor.with.preview.show.floating.toolbar=false
    ide.instant.shutdown=false
    ide.experimental.ui=true

Non-Bundled Plugins:
    com.jetbrains.kmm (0.6.1(223)-18)
    org.jetbrains.compose.desktop.ide (1.4.3)

 


그러면서 gradle 버전도 8.1.0 이 되었고 kotlin 도 버전이 1.8.22 이상으로 패치가 진행되었습니다.   그러다 보니 이제 보안이 점점 더 강화되는 느낌이기도 합니다. 


 



minifyEnabled true
shrinkResources true


구글에서는 코드 난독화나 앱의 크기를 줄이는 방안으로 압축을 요구하기도 합니다. 그러는 동안에 발생하는 이슈들은 전부다 개발자의 몫이 되기도 합니다. 


 


오늘은 그중에 소셜 로그인이 되지 않는 현상 (네이버로그인, 카카오톡 로그인 이 안돼요) 이 발생한 앱을 조치한 방법을 기술해 두고자 합니다. 


 


https://developers.naver.com/forum/posts/32767



 


개발자 포럼 - NAVER Developers


 


developers.naver.com




https://devtalk.kakao.com/t/kakao-sdk-login/108246



 


Kakao sdk login 시 크래쉬가 발생합니다


안녕하세요, 카카오 sdk 로그인 기능을 사용하는 도중 크래쉬가 발생해서 질문 남깁니다. 현재 카카오 톡으로 로그인하기와 카카오 계정으로 로그인하기 두가지를 사용하고 있는데요, LoginClient.i


devtalk.kakao.com




검색을 통해 이런저런 이슈가 있음을 알게 되었습니다. 


 


이런 검색 결과를 통해서 다음과 같은 수정을 진행했습니다.  아래 내용은 proguard-rules.pro 파일에 추가한 내용입니다.



# kakao minifyReleaseWithR8  2023.08.10 ~
-keep interface com.kakao.sdk.**.*Api

# Please add these rules to your existing keep rules in order to suppress warnings.
# This is generated automatically by the Android Gradle plugin.
-dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
-dontwarn org.conscrypt.Conscrypt$Version
-dontwarn org.conscrypt.Conscrypt
-dontwarn org.conscrypt.ConscryptHostnameVerifier
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE
-dontwarn org.slf4j.impl.StaticLoggerBinder

# naver login 2023.08.10 ~
# Retrofit does reflection on generic parameters. InnerClasses is required to use Signature and
# EnclosingMethod is required to use InnerClasses.
-keepattributes Signature, InnerClasses, EnclosingMethod

# Retrofit does reflection on method and parameter annotations.
-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations

# Keep annotation default values (e.g., retrofit2.http.Field.encoded).
-keepattributes AnnotationDefault

# Retain service method parameters when optimizing.
-keepclassmembers,allowshrinking,allowobfuscation interface * {
@retrofit2.http.* <methods>;
}

# Ignore annotation used for build tooling.
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

# Ignore JSR 305 annotations for embedding nullability information.
-dontwarn javax.annotation.**

# Guarded by a NoClassDefFoundError try/catch and only used when on the classpath.
-dontwarn kotlin.Unit

# Top-level functions that can only be used by Kotlin.
-dontwarn retrofit2.KotlinExtensions
-dontwarn retrofit2.KotlinExtensions$*

# With R8 full mode, it sees no subtypes of Retrofit interfaces since they are created with a Proxy
# and replaces all potential values with null. Explicitly keeping the interfaces prevents this.
-if interface * { @retrofit2.http.* <methods>; }
-keep,allowobfuscation interface <1>

# Keep inherited services.
-if interface * { @retrofit2.http.* <methods>; }
-keep,allowobfuscation interface * extends <1>

# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items).
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation


 


이제 이것으로 앱을 빌드하여 릴리즈를 해 볼 예정입니다.   다른 이슈를 알게 되면 또 기술해 보겠습니다.


 





오늘의 이야기


#billcorea #운동동아리관리앱
🏸 Schneedle, eine unverzichtbare App für Badmintonvereine!
👉 Matchplay – Punkte aufzeichnen und Gegner finden 🎉
Perfekt für überall, alleine, mit Freunden oder im Club! 🤝
Wenn Sie Badminton mögen, probieren Sie es unbedingt aus

Zur App gehen 👉 https://play.google.com/store/apps/details?id=com.billcorea.matchplay




오늘의 이야기

https://github.com/blocoio/android-template



 


GitHub - blocoio/android-template: Android app starter template


Android app starter template. Contribute to blocoio/android-template development by creating an account on GitHub.


github.com




위 글에서 찾은 안드로이드 앱 탬플릿입니다. 이걸 따라 해 보면 쉽게 앱을 구현해 볼 수 있을 듯합니다.   아래 적은 글은 원본에서 번역한 자료임을 밝혀 둡니다.


 


---


 


3개의 주요 모듈이 있는 클린 아키텍처



  • 데이터(데이터베이스, API 및 기본 설정 코드용)

  • 도메인(비즈니스 로직 및 모델용)

  • AndroidApp(UI 로직용, MVVM 포함)


테스트



  • Mockk 라이브러리

  • 단위 테스트

  • 애플리케이션 테스트

    • 테스트 작업 방법에 대한 예



  • 활동 테스트( Compose Testing 포함 )

    • 테스트에서 코루틴 범위로 작업하는 방법에 대한 예




기타 유용한 기능



시작하기



  1. 이 리포지토리 추출을 다운로드하고 Android Studio에서 템플릿 폴더를 엽니다.

  2. 앱 패키지 이름 바꾸기 io.bloco.template

  3. 패키지와 함께 매니페스트 패키지의 이름이 바뀌었는지 확인합니다.

  4. 컴포저블을 템플릿 이름으로 교체

  5. 에서 androidApp/build.gradleapplicationId를 새 앱 패키지로 변경합니다.

  6. 에서 androidApp/build.gradleAndroid Studio가 제안하는 종속성을 업데이트합니다.

  7. 에서 string.xml애플리케이션 이름을 설정합니다.


NewProjectCI 내에서 프로젝트를 실행하면 위의 모든 단계가 자동으로 수행됩니다. Android Studio를 사용하여 프로젝트를 실행한 다음 Main.kt 파일을 열고 "Run MainKt"를 누를 수 있습니다. 새 패키지 이름과 앱 이름에 대한 메시지가 표시됩니다.



  1. 애플리케이션 스타일 설정 Theme.kt및 설정 Color.kt

  2. 앱 아이콘 교체

  3. 원치 않는 예제 파일 삭제

  4. 실행./gradlew dependencyUpdates 및 종속성 확인

  5. 사용할 준비가


이제 새 앱 작업을 시작할 준비가 되었습니다.


노트



  • Android 템플릿에는. github/workflowsLint 검사, 단위 테스트 및 종속성 검사가 포함됩니다. 이 프로젝트 작업 흐름을 쉽게 가져와서 몇 가지 경로 변경으로 용도를 변경할 수 있습니다. 또한 test.yml에서 Instrumentation Testing 및 CodeCoverage에 대한 주석이 달린 예제를 찾을 수 있으며 깨끗한 프로젝트를 유지하도록 조언하지만 비밀 키를 교체해야 합니다. 자신과 함께.


 







오늘의 이야기

https://github.com/tehras/charts



 


GitHub - tehras/charts: Simple Android compose charts.


Simple Android compose charts. Contribute to tehras/charts development by creating an account on GitHub.


github.com




 


이 글은 위 링크에서 참고하였습니다.  이것도 꼭 도전해 보아야겠습니다. 앞에서 펌 했던 것보다는 jetpack compose을 활용한 차트 그리기이니 앞으로의 앱 개발에 필수 요소가 아닐까 하는 생각이 듭니다.


 


샘플이미지



Android Jetpack Compose 라이브러리를 사용하여 차트를 그리고 애니메이트하는 라이브러리입니다.


구현:


최신 릴리스 = 



 


build.gradle(앱)



dependecies {
implementation "com.github.tehras:charts:$latest_release"
}

 


설정.gradle



repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io'}
}


 



프로젝트가 3년이라는 사실에도 불구하고 6개월 전에 대대적으로 업데이트되었으며 SDK 33을 대상으로 하는 거의 최신 종속성을 기반으로 합니다.


README는 라이브러리 사용에 대한 기본 정보를 제공하며 시작하기에 충분합니다.


버전: 0.2.4-alpha
라이선스: Apache-2.0 라이선스


 


막대 차트 예제

@Composable
fun MyBarChartParent() {
fun BarChart(
barChartData = BarChartData(bars = listOf(Bar(label = "Bar Label", value = 100f, color = Color.Red)),
// Optional properties.
modifier = Modifier.fillMaxSize(),
animation = simpleChartAnimation(),
barDrawer = SimpleBarDrawer(),
xAxisDrawer = SimpleXAxisDrawer(),
yAxisDrawer = SimpleYAxisDrawer(),
labelDrawer = SimpleValueDrawer()
)
}


원형 차트 예제

@Composable
fun MyChartParent() {
PieChart(
pieChartData = PieChartData(listOf(Slice(...), Slice(...),....)),
// Optional properties.
modifier = Modifier.fillMaxSize(),
animation = simpleChartAnimation(),
sliceDrawer = SimpleSliceDrawer()
)
}

선 차트 예제

@Composable
fun MyLineChartParent() {
LineChart(
linesChartData = listOf(LineChartData(points = listOf(LineChartData.Point(1f,"Label 1"), ...))),
// Optional properties.
modifier = Modifier.fillMaxSize(),
animation = simpleChartAnimation(),
pointDrawer = FilledCircularPointDrawer(),
lineDrawer = SolidLineDrawer(),
xAxisDrawer = SimpleXAxisDrawer(),
yAxisDrawer = SimpleYAxisDrawer(),
horizontalOffset = 5f,
labels = listOf("label 1" ...)
)
}

 


 





오늘의 이야기


#스하리1000명프로젝트,
한국에서 길을 잃었나요? 한국어를 못하더라도 이 앱을 사용하면 쉽게 돌아다닐 수 있습니다.
귀하의 언어로 말하면 귀하의 언어로 번역, 검색 및 결과가 표시됩니다.
여행자에게 좋습니다! 영어, 일본어, 중국어, 베트남어 등 10개 이상의 언어를 지원합니다.
지금 사용해 보세요!
https://play.google.com/store/apps/details?id=com.billcoreatech.opdgang1127




2026/03/22

오늘의 이야기

https://github.com/hi-manshu/Kalendar



 


GitHub - hi-manshu/Kalendar: Kalendar is a powerful and customizable calendar library for Android applications. It provides a fl


Kalendar is a powerful and customizable calendar library for Android applications. It provides a flexible and intuitive way to display and interact with calendars in your app. With Kalendar, you ca...


github.com




 


이글은 위 원본 소스에서 참고 했습니다. 다음에 꼭 도전해 본 이야기를 적어 보겠습니다.


카렌더 만들기 샘플



 


Kalendar 라이브러리는 Jetpack Compose를 사용하여 Android 앱에서 캘린더 구성요소를 만들기 위한 강력한 도구입니다. 다양한 특징과 기능으로 사용자 지정 가능한 캘린더 보기를 제공합니다.


Kalendar 라이브러리는 Android 앱에서 대화형의 시각적으로 매력적인 캘린더를 만드는 프로세스를 단순화합니다. 유연한 구성 옵션, 이벤트 통합 및 대화형 콜백을 통해 사용자 경험을 향상시키는 강력한 캘린더 구성 요소를 쉽게 구축할 수 있습니다.


만든❤️Android 개발자를 위한 Himanshu 제작


캘린더는 세 가지 유형의 캘린더를 지원합니다.



  • Oceanic : WeekView를 나타냅니다.

  • Firey : MonthView를 나타냅니다.

  • Endlos : 현재 달부터 시작하는 스크롤 달력을 나타냅니다.


시작하기


Kalendar 라이브러리를 Android 앱에 통합하려면 다음 단계를 따르세요.


앱 수준 build.gradle 파일에 Kalendar 라이브러리를 종속 항목으로 추가합니다.



implementation 'com.himanshoe:kalendar:1.3.2'

 


스크롤링 달력 Endlos를 추가하려면 다음 종속성을 추가하십시오.



implementation 'com.himanshoe:kalendar-endlos:1.3.2'

 


Kalendar 라이브러리를 사용하는 방법에 대한 자세한 문서 및 예제는 Oceanic/Firey에 대한 Kalendar 문서 및 스크롤 캘린더에 대한 Kalendar Endlos 문서를 참조하십시오 .


 


 





오늘의 이야기

https://github.com/patrykandpatrick/vico



 


GitHub - patrykandpatrick/vico: A light and extensible chart library for Android.


A light and extensible chart library for Android. Contribute to patrykandpatrick/vico development by creating an account on GitHub.


github.com




 


이 게시글에서 찾은 자료입니다. 언제 한번 도전해 보아야 하겠습니다. 


 


그래프 샘플 이미지



 


Vico는 가볍고 확장 가능한 Android용 차트 라이브러리입니다. Jetpack Compose 및 보기 시스템과 모두 호환되지만 두 가지 주요 모듈( compose및) 은 views독립적입니다.


Vico에는 세 가지 기본 학습 리소스가 있습니다.



  • 위키 에는 설정 가이드가 포함되어 있으며 Vico의 기능과 구조에 대한 개요가 나와 있습니다.

  • 샘플 앱은 Jetpack Compose 및 뷰 시스템에서 Vico를 사용하는 방법을 보여줍니다. 이 문서 상단에 표시된 차트는 샘플 앱에서 구현됩니다.

  • API 참조는 Vico의 API에 대한 포괄적인 설명서입니다.





오늘의 이야기



#스치니1000프로젝트 #재미 #행운기원 #Compose #Firebase

🎯 야 너 토요일마다 로또 확인하냐?
나도 맨날 "혹시나~" 하면서 봤거든 ㅋㅋ

근데 이제는 그냥 안 해
AI한테 맡겼어 🤖✨

그것도 구글 Gemini로다가!

그래서 앱 하나 만들었지
👉 "로또 예상번호 by Gemini" 🎱

AI가 분석해서 번호 딱! 뽑아줌
그냥 보고 참고만 하면 됨

재미로 해도 좋고…
혹시 모르는 거잖아? 😏


https://play.google.com/store/apps/details?id=com.billcorea.gptlotto1127




오늘의 이야기

무작정 회사를 떠났습니다.  남들이 말하는 *(준)정년 이라는 제도를 핑계 삼으며 말입니다.  이런 저런 핑계는 있었습니다. 그 동안 무작정 살았던 흔적들 때문에 힘이 들기도 했기에 더는 감당이 되지 않는 시간들이 되어 버렸기 때문 이기도 했습니다. - 마음에 위안을 주는 나만의 핑계 일수도-
 

이제 회사를 떠나 살아본 이야기를 적어 볼 까 합니다.  회사를 떠난 지 13개월 차 되어 갑니다.  지금 이 시간에도 회사를 떠나야 하는  -물론 정상적으로 이직이 되는 사람들은 제외 입니다.- 분들에게 경험 해 보지 않은 시간등에 대한 이야기를 해 볼까 합니다.
 
*(준)정년 : 회사가 정년을 몇년 남긴 직원에게 정년에 준하는 기준으로 회사를 떠닐 수 있도록 허가 하는 제도  정년이 도래하지 않은 상태에서 떠나기 때문에 회사의 정책에 따라 일정 금액의 보상을 하기도 합니다.





오늘의 이야기


#스하리1000명프로젝트

스치니들!
내가 만든 이 앱은, 내 폰에 오는 알림 중에서 중요한 키워드가 있는 경우
등록해둔 친구에게 자동으로 전달해주는 앱이야 📲

예를 들어, 카드 결제 알림을 와이프나 자녀에게 보내주거나
이번 달 지출을 달력처럼 확인할 수도 있어!

앱을 함께 쓰려면 친구도 설치 & 로그인해줘야 해.
그래야 친구 목록에서 서로 선택할 수 있으니까~
서로 써보고 불편한 점 있으면 알려줘 🙏

👉 https://play.google.com/store/apps/details?id=com.nari.notify2kakao





오늘의 이야기

라즈베리파이 한 대로 Threads·인스타 릴스·네이버 블로그 자동 글쓰기 (Python 실전 가이드 PDF) PDF광고   글감 찾고, 문구 다듬고, 올리고, 댓글에 답하는 일을 몇 달만 반복하...