Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ããã«ã¡ã¯ï¼Androidã¨ã³ã¸ãã¢ã® kitakkunï¼@kitakkun_pbï¼ã§ãã 6æ22æ¥ éå¬ã® Kotlin Fest 2024 ã«ã¦ããã©ãã£ãããç§ãç»å£ãã¾ãï¼ www.kotlinfest.dev ç»å£å 容 ãã³ã°(40å) 2024/06/22 14:50ã ãã©ãã¯2 ãã£ã¨Kotlinã好ãã«ãªãï¼K2æ代ã®Kotlin Compiler Pluginéçº by kitakkun fortee.jp æ¬ã»ãã·ã§ã³ã§ã¯ãKotlin Compiler Pluginã®ä»çµã¿ããã®éçºæ¹æ³ã«èå³ããæã¡ã®æ¹ã対象ã¨ãã¦ã Kotlin Compilerã®åºç¤ç¥èãå種Compiler Plugin APIã®ä½¿ãæ¹ãããã¦å®éã®æ´»ç¨ä¾ã«ã¤ãã¦ãä¼ããã¾ãã ã³ã³ãã¤ã©ã¾ã§ãæè»ã«æ¡å¼µã§ããã¨ãããKotlinã®ãããªãé åã«è¿«ãã»ãã·ã§ã³ã¨ãªã£ã¦ãã¾ãã ãæéã«ä½è£
Mobile Tech Leadã®ä¹ ä¿åºã§ãã ãã®è¨äºã¯ãæè¡æ¸å ¸15ã§é å¸ããWANTEDLY TECH BOOK 13ã®å 容ã¨ãªã£ã¦ãã¾ãã å¼ç¤¾ã§ã¯ã2020å¹´4æé ããKotlin Multiplatform (以éKMP)ãå°å ¥ãã¦ãã¾ãã ãã®è¨äºã§ã¯ãKMPå°å ¥ãã2023å¹´10æç¾å¨ã¾ã§ãæ¯ãè¿ããKMPèªä½ã«ã¤ãã¦ãæ°æè¡å°å ¥ã¨ããè¡çºã¨ãã¦ãªã©ã®è¦³ç¹ã§ã¾ã¨ããä»å¾ã®æ¹åç¹ãæ¢ãã¾ãã KMPã®å°å ¥äºä¾ãæ°æè¡å°å ¥ã®äºä¾ã¨ãã¦åèã«ãªãã°å¹¸ãã§ãã Kotlin Multiplatformã¨ã¯Kotlin Multiplatform (KMP) ã¯ãã¯ãã¹ãã©ãããã©ã¼ã æè¡ã®ã²ã¨ã¤ã§ãã KMPã¯ãKotlinã®è¨èªæ©è½ã®ã²ã¨ã¤ã§ãããKotlinã®åä¸ã®ã³ã¼ããã¼ã¹ããè¤æ°ã®ãã©ãããã©ã¼ã åãã®å®è¡å¯è½ãªã³ã¼ããçæãã¾ãã KMPã«ãããç°ãªããã©ãããã©ã¼ã é
ã¯ããã« ãã®è¨äºã¯ and factory.inc Advent Calendar 2023 ã®10æ¥ç®ã®è¨äºã§ãã æ¨æ¥ã¯ @nsym__m ããã®ãä»å¹´ãã£ã¦ããã£ã輪èªä¼ã®æ¬ã¨é²ãæ¹ãã§ããã æ¬è¨äºã§ã¯ãKotlinç¨ã®éçã³ã¼ãåæãã¼ã«ã§ãããKonsistãã試ãã«å°å ¥ãã¦ã¿ãã®ã§ãå°å ¥æ¹æ³ãå®éã«ä½æããå 容ãå ±æãããã¨æãã¾ãã Konsistã¨ã¯ ãKonsistãã¯ãKotlinå°ç¨ã®éçã³ã¼ãåæãã¼ã«ã§ããã³ã¼ãã®ä¸è²«æ§ã¨ã³ã¼ãã£ã³ã°è¦ç´ã®éµå®ãç®æããKotlinããã¸ã§ã¯ãã®çµ±ä¸ãããã³ã¼ãæ§é ãç¶æãã¾ãããã®ãã¼ã«ã¯ãJUnitãKotestã使ç¨ããåä½ãã¹ãã®å½¢å¼ã§ãã³ã¼ãå質ã確ä¿ããããã®ãã§ãã¯ãè¡ãã¾ãã ï¼ChatGPTã«ããè¦ç´ ï¼ åä½ãã¹ãã®å½¢å¼ã§ã³ã¼ãã®ã«ã¼ã«ããã§ãã¯ãã¦ããããã®ã§ã宣è¨å¨ããã¢ã¼ããã¯ãã£å¨ãã®ãã§ãã¯ãå¯è½
1: ~.psi.KtFile (~.psi.stubs.elements.KtFileElementType.kotlin.FILE) 1: ~.psi.KtPackageDirective (~.psi.stubs.elements.KtPlaceHolderStubElementType.PACKAGE_DIRECTIVE) 1: ~.c.i.p.impl.source.tree.LeafPsiElement (~.lexer.KtKeywordToken.package) "package" 1: ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (~.c.i.p.tree.IElementType.WHITE_SPACE) " " 1: ~.psi.KtDotQualifiedExpression (~.psi.stubs.elements.K
LiveData was something we needed back in 2017. The observer pattern made our lives easier, but options such as RxJava were too complex for beginners at the time. The Architecture Components team created LiveData: a very opinionated observable data holder class, designed for Android. It was kept simple to make it easy to get started and the recommendation was to use RxJava for more complex reactive
StateFlowã®æ·±å ããSharedFlowã¨ã®éãã¨stateInãkotlin coroutines flowã StateFlowã¯kotlin corouteinsã®1.3.6ã§è¿½å ãããç¶æ 管çç¨ã®ç¹å¥ãªFlowã§ãã 以åããStateFlowã®ããã¥ã¡ã³ããèªã¿è¾¼ããã¨ããè¨äºãæ¸ãã¾ãããããã®å¾SharedFlowã追å ãããè¥å¹²å®è£ ã«å¤æ´ãããã¾ããã ã¾ããæ°ãã«stateInã¨ããoperatorã追å ããã¦ãã¾ãã ä»åã¯ããããå«ããStateFlowã®è©³ç´°ãªä»æ§ã«é¢ãã¦æ·±å ããã¦ããããã¨æãã¾ãã Flow, SharedFlow, StateFlowã®æ¯è¼ã¯ãã¡ãã®è¨äºããSharedFlowã®æ·±å ãã¯ãã¡ãã®è¨äºãåèã«ãã¦ãã ããã StateFlowã®åºæ¬çãªä½¿ãæ¹StateFlowã¯ç¶æ 管çã«ç¹åããFlowã§ãã StateFlowã¯Muta
- Kotlin Coroutinesã«ã³ã¼ã«ãã¹ããªã¼ã ããªãã£ãã®ã§Flowãç»å ´ - Channelã¯ãããã¹ããªã¼ã - ãããã¹ããªã¼ã ã¯çµæ§ç°¡åã«ãªã¼ã¯ãã - Flowã¯åä¿¡ãéå§ããªãéãåä½ããªã - Flowã¯å®è¡ããæã«å¿ ãã³ã«ã¼ãã³ã¹ã³ã¼ãã«å±ããã®ã§éãå¿ãããªã -â¦
Use Kotlin Coroutines in your Android App Stay organized with collections Save and categorize content based on your preferences. 1. Before you begin In this codelab you'll learn how to use Kotlin Coroutines in an Android appâthe recommended way of managing background threads that can simplify code by reducing the need for callbacks. Coroutines are a Kotlin feature that converts async callbacks for
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}