© 2022 Hashnode
#kotlin
LaunchedEffect Let’s you run suspend functions inside a composable. When LaunchedEffectenters the Composition, it launches a coroutine with the block of code passed as a parameter. If it has multiple …
원문 : [Kotlin pearls 1]Scope Function]원문과 내용은 동일하고, 문단 스타일에만 차이가 있습니다 https://medium.com/@ramtop/kotlin-scope-functions-c8c41f09615f Scope Functions 우리가 코틀린의 스코프 함수들에 대한 글을 계속 찾아 다닐 필요가 정말로 있을까요? …
Introducción En los artículos anteriores se explicó cómo comenzar a escribir tests unitarios y algunas funciones más avanzadas de Mockk. Una vez aprendido esto, es necesario pasar a hacer tests de cosas un poco más complejas, especialmente …
What is Object Mapping? Multi-layered applications often have similar but different object models, where the data in two models may be similar but the structure and concerns of the models are differen…
When working with multi-layered applications, external libraries, a legacy code base or external APIs, we are often required to map between different objects or data structures. In this tutorial, we w…
In this article, you will learn some of the useful things you should know about Jetpack compose recomposition. But, what is recomposition in Jetpack Compose? Recomposition is the process of calling co…
What is Kotlin Kotlin is general purpose, statically types and open source programming language. It uses JVM. Now a days majorly used to develop Android Apps can also be used in backend Ktor and have …
In our day-to-day project work we write Unit Tests, Integration Test, etc. to test our business functionality. But what if we could apply the same principles to test our architecture? That is where A…
This is the second part of my short series about Spring and Kotlin coroutines. In the first part we learned that we can stay reactive from the controller to the repository. The only requirement was th…
Trailing lambda is something new in Kotlin that other programming language doesn't have. At least, I do not aware of any other programming language that supports it. When you see code like this: var …