Android apps can be written using Kotlin, the Java programming language, and C++ languages.안드로이드 앱은 Kotlin, Java, C++로 작성할 수 있다.Kotlin과 Java는 Android
앱 구성요소(App Component) > App components are the essential building blocks of an Android app. Each component is an entry point through which the system
앞서 안드로이드에는 4대 구성요소(Component)가 존재하고, 각 구성요소가 앱의 진입지점이 될 수 있다는 것을 알았다. 그렇다면 각 컴포넌트에 진입하는 방법에는 무엇이 있을까? Intents >An asynchronous message called an int
안드로이드의 컴포넌트들이 앱의 진입 지점이 될 수 있다는 것을 알았다. 그렇다면 시스템은 어떻게 이런 컴포넌트들을 파악할 수 있는 것일까? The Manifest File >Before the Android system can start an app componen
What is Kotlin? > A programming language targeting the Java platform. Kotlin is concise, safe, pragmatic, and focused on interoperability with Java c
안드로이드 프로젝트에 멀티 모듈 구조를 적용하면서 빌드에 직접적으로 관여하는 Gradle에 대해 궁금증을 가지게 되었다. 1. What is Gradle? Gradle은 오픈소스 빌드 시스템으로, 안드로이드에서 사용된다. 2. Gradle Core Concept
While some small projects and monolithic applications may contain a single build file and source tree, it is often more common for a project to have b
프로젝트에 build-logic을 사용해 커스텀 플러그인을 적용해보자.먼저 build-logic 디렉토리를 만들어준다.반드시 프로젝트 내부에 있을 필요는 없지만 Android Studio에서 보기 편하기에 프로젝트 내에 모듈로 생성하였다.모듈을 만들면 빌드 스크립트만
Lifecycle onCreate > On activity creation, the activity enters the Created state. In the onCreate() method, perform basic application startup logic t
Interface to global information about an application environment. This is an abstract class whose implementation is provided by the Android system. It
An Intent, abstract description of an operation to be performed, is a messaging object you can use to request an action from another app component.Int
collect & collectLatest 안드로이드에서 다양한 Flow를 다루다보면 자주 마주치게 되는 함수들이다. 무슨 차이가 있는 것일까? collect
이 타이머를 구현하면서 scope를 DI로 주입받았다.DI로 scope를 주입받으면 결합도는 낮출 수 있다는 장점이 있고, 테스트 코드에서 테스트 스코프를 사용하기도 좋다.하지만 여기서 한가지 문제점이 생각났다.scope가 외부에서 주입되기 때문에, 사용하는 scope
As the project develops, the need for seperating layers has arrisen
오늘은 리스트를 선언하는 방법 중 하나로 buildList에 대해 소개하고자 한다.개발을 하다보면 리스트를 다룰 일이 많다.그렇다면 코틀린을 사용해서 리스트를 어떻게 만들까?보통 간단한 요소 몇개를 가진 리스트를 선언하기 위해서 listOf를 사용한다.하지만 listO
ViewModel의 Scope는 Activity나 Fragment로 지정되면서도 해당 Activity가 파괴되고 재생성되더라도 유지된다. 어떻게 인스턴스가 사라지는데도 ViewModel은 유지될 수 있을까? Class to store ViewModels.Instance
Navigation3 라이브러리가 새로 발표되었다. Compose를 위한 네비게이션 라이브러리는 이미 존재했는데, 왜 Type-Safe Args가 추가됐을 때처럼 버전업이 아닌 새로운 라이브러리로 발표가 되었을까?바로 Jetpack Navigation 부터 이어져온 N
안드로이드 앱 프로젝트를 시작할 때, 프로젝트 구조 설계를 하게된다.가장 잘 알려진 설계 구조는 크게 두가지로, 클린 아키텍쳐와 앱 아키텍쳐가 있다.클린 아키텍쳐는 앱 개발 뿐만 아니라 다양한 도메인에서 사용되는 보편적인 설계 구조이고, 앱 아키텍쳐는 안드로이드 팀에서