https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
feed
  • m

    Matias Reparaz

    03/16/2021, 9:11 PM
    Hi, I’m don’t know if this is the correct channel for this question but I’m writing a post in medium about refactoring and I want to show the changes in the code understandably, maybe showing the code before and after or using a gif. Can you recommend some tools to do this?
    k
    r
    +2
    11 replies · 5 participants
  • m

    Mattia Tommasone

    03/17/2021, 9:27 AM
    Just released #mockk v1.11.0, adding support for mocking different constructors and better 1.4 support: https://github.com/mockk/mockk/releases/tag/1.11.0
    💯 5
    :kotlin-intensifies: 33
    👍 2
    m
    5 replies · 2 participants
  • s

    Shabinder Singh

    03/18/2021, 7:31 PM
    SpotiFlyer now targets : Android, Web and Desktop, being a Kotlin Multiplatform Project ,It shares more than 90% Business Logic including things like Navigation etc too! Repo: https://github.com/Shabinder/SpotiFlyer Pull Requests are always welcome, support for web & desktop is still in Beta.
    🙌 7
    :kotlin-intensifies: 7
    ⭐ 5
    m
    c
    6 replies · 3 participants
  • p

    Paul

    03/19/2021, 11:44 AM
    Hello everyone. I've just open-sourced a project that I've been working on for quite some time called Gamedge. The aim is to showcase the latest trends in Android development by utilizing the best practices, libraries, and tools to develop a fully-fledged Android application. It utilizes: • MVI/MVVM Architecture • Coroutines and Flow (including StateFlow) • Dagger Hilt • Jetpack DataStore (both preferences and protocol buffer versions) • MotionLayout • AssertJ, MockK, Turbine for unit and instrumentation tests • and lots of other libraries. If anyone want to take a look, here's a link to the GitHub.
    👍🏼 1
    :kotlin-intensifies: 26
    👍🏽 1
    👍 17
    😍 4
    t
    m
    +2
    9 replies · 5 participants
  • v

    Vikki Bon

    03/22/2021, 8:14 AM
    Hey everyone!
    r
    1 reply · 2 participants
  • s

    Sebastian Aigner

    03/22/2021, 1:03 PM
    📛🔬 My colleague @Maria Khalusova wrote an exciting article about doing Natural Language Processing with Kotlin, specifically about part-of-speech-tagging with Hidden Markov Models. Check it out here! https://dev.to/kotlin/natural-language-processing-with-kotlin-part-of-speech-tagging-with-hidden-markov-model-1gan
    ❤️ 5
    👍🏼 1
    👍 11
    l
    t
    2 replies · 3 participants
  • d

    Dmitry Kandalov

    03/23/2021, 11:37 AM
    I wrote this IntelliJ plugin over the weekend https://plugins.jetbrains.com/plugin/16366-quick-fix (GitHub https://github.com/dkandalov/quick-fix) so I don’t need to press
    alt+enter, enter
    in obvious cases and can finally assign shortcuts to intentions. In particular, for Kotlin it’s good to have shortcuts for
    Put parameters/arguments on one/separate lines
    🎉
    :kotlin-intensifies: 4
    🤩 12
    j
    1 reply · 2 participants
  • a

    Alex Queudot

    03/23/2021, 1:00 PM
    Hey everyone, I’ve just posted an Article on Best Practices for launching Coroutines in Android. Hoping to help beginners understand Scope and Context and move away easily from GlobalScope on Android! Any feedback is welcome 🙂 https://medium.com/l-r-engineering/launching-kotlin-coroutines-in-android-coroutine-scope-context-800d280ebd80
    👍 3
    e
    2 replies · 2 participants
  • d

    diego-gomez-olvera

    03/23/2021, 2:19 PM
    the cost of creating Java Threads, a plus for Kotlin + Coroutines https://dzone.com/articles/java-threads-may-not-be-memory-efficient
    This study clearly indicates that memory is allocated to threads at the time of creation, and memory is not allocated based on the thread’s runtime demand. Both hyper working threads and almost dormant threads consume the same amount of memory. Modern Java applications tend to create hundreds (sometimes thousands) of threads. But most of those threads are in a WAITING or TIMED_WAITING state and do nothing.
    k
    d
    +1
    5 replies · 4 participants
  • p

    Philipp Mayer

    03/28/2021, 4:53 PM
    I started to write introductionary articles about #http4k , a small yet powerful http toolkit. I hope you'll find it interesting! I would appreciate any kind of feedback, thank you! Part 1 - Introduction https://world.hey.com/philipp.mayer/http4k-a-sneak-peak-1ae5e22e Part 2 - HttpHandlers https://world.hey.com/philipp.mayer/http4k-101-http-handlers-28796fcc
    🙂 2
    👍 2
    j
    1 reply · 2 participants
  • c

    Carmi Grushko

    03/28/2021, 7:01 PM
    Hi! Wanted to share https://facebookincubator.github.io/ktfmt/, which allows you to check out
    ktfmt
    , a predictable Kotlin code formatter, inside the browser. ktfmt is distinctive in that it always produces the same output, regardless of how the code looks initially. It is based on google-java-format, if you're familiar with it from Java. (The website is powered by an AWS Lambda which is notorious for slow cold-startup times for JVM programs, so it might take a few seconds the first time to get a response. When running locally, it is fast enough to run as a save hook.)
    :kotlin-intensifies: 4
    🤘 3
    b
    d
    +11
    40 replies · 14 participants
  • t

    Tomasz Krakowiak

    03/31/2021, 7:06 AM
    Hello, I created the missing channel for MPP WEB programmes. You're welcome to join - #web-mpp
    a
    a
    8 replies · 3 participants
  • g

    gammax

    03/31/2021, 3:19 PM
    Hey all :android-wave: The Developers’ Bakery podcast is back with a new episode about Kotlin this week: 🧪 JaCoCo with @Evgeny Mandrikov You can listen to it on the website here: https://thebakery.dev/09/ or on the major streaming platforms. As always, any feedback is more than welcome 🙏
    🎉 5
    h
    s
    5 replies · 3 participants
  • b

    Big Chungus

    04/03/2021, 4:19 PM
    Hi all. I've created a GitHub project template for kotlin multiplatform libraries. It comes with a lot of preconfigured goodies to help you kickstart your projects. Star if you like it and don't forget to leave any feedback you might have in a form of Issue, PR or even DM here. Currently it features the following: • Native target grouping and shared sourceSets • Wrapper library module that declares dependencies on all lib modules • Uniform configuration via
    allprojects
    • Local
    test
    module for shared test utilities (a helper function to run coroutine tests in common sourceSet included) • Local
    sandbox
    module for easy library consumer side checks • Publication control to avoid multiple publications for targets that can be built on multiple hosts •
    ktlint
    plugin with automatic
    git-hooks
    •
    refreshVersions
    plugin for better version control • Main host for publications can be changed via
    gradle.properties#project.mainOS
    property P.S. Commonizer breaks if I bump kotlin version to 1.5.0-M2, Might be something JB folks want to look into as a potential regression.
    👍🏼 1
    👍 2
    v
    j
    +2
    29 replies · 5 participants
  • b

    basher

    04/04/2021, 10:41 PM
    New post: You can do Kotlin multiplatform networking with or without ktor. You don't have to decide right away! https://benasher.co/kotlin-multiplatform-networking/
    👍 1
    😍 1
    a
    1 reply · 2 participants
  • c

    Ch8n

    04/05/2021, 4:28 AM
    Hi mates! do check out my recently published article on how devs often end up creating code noise with Kotlin scope, do give me feedback or other points you have encountered yourself while using them. https://proandroiddev.com/noisy-code-with-kotlin-scopes-331c632739de Topic Covered : 1. Null handling using Let 2. Branching scoped operators 3. misusing runs 4. use of with operator
    👍 2
    j
    2 replies · 2 participants
  • d

    dimsuz

    04/09/2021, 6:01 PM
    Hello! I have released a first version of the validation library based on the idea I haven't seen implemented in similar kotlin libraries: separation of pre- and post-validation models. Also the goal is to make validators (rules) highly composable. More details and examples here: https://github.com/dimsuz/vanilla
    👍 3
    :kotlin-intensifies: 1
    ❤️ 2
    r
    b
    +3
    18 replies · 6 participants
  • b

    Big Chungus

    04/14/2021, 2:35 PM
    Just wanted to share in excitement. After last night's kamp.ml scan, we've went over 3.5k kotlin libs mark on maven central! :kotlin-intensifies: A massive boost when compared with 2.4k libs back in February
    :parrot-upside-down: 9
    :kotlin-intensifies: 7
    t
    r
    +1
    7 replies · 4 participants
  • s

    Stephan Schroeder

    04/15/2021, 8:39 AM
    The Kotlin1.5 Release Candidate is out: https://blog.jetbrains.com/kotlin/2021/04/kotlin-1-5-0-rc-released/
    :kotlin-intensifies: 21
    m
    c
    +4
    23 replies · 7 participants
  • a

    Alex Vanyo

    04/20/2021, 4:52 PM
    Hi all! I’ve compiled a few simple examples of ways to write code that will be easier to maintain and provide fewer opportunities for bugs to occur in the future: https://medium.com/livefront/dont-make-your-code-predict-the-future-5b60b58905aa
    👏🏼 1
    m
    1 reply · 2 participants
  • d

    Dmitry Kandalov

    04/20/2021, 9:08 PM

    https://www.youtube.com/watch?v=wOZd5PnUCD8▾

    🚀 1
    🔥 6
    👏 2
    m
    1 reply · 2 participants
  • a

    alllex

    04/23/2021, 11:12 AM
    👋 Hey everyone! Please checkout my experimental library for parser combinators using Kotlin Coroutines! :coroutine: You can find numerous examples and an introduction tutorial directly in the readme of the repo! https://twitter.com/alllexist/status/1385500946453704706
    🔥 2
    :kotlin-intensifies: 2
    🎉 3
    🔝 1
    👀 1
    👏🏼 1
    😒uspend: 3
    👏 3
    t
    1 reply · 2 participants
  • e

    escodro

    04/23/2021, 7:37 PM
    Hello again! I wrote an article about my lessons learned during my journey to migrate my personal application to Jetpack Compose. 🚀 I hope that this article help you on your journey as well. ❤️ https://proandroiddev.com/lessons-learned-when-migrating-my-app-to-jetpack-compose-55ea1b05b988 Repository: https://github.com/igorescodro/alkaa/
    👏 3
    :jetpack-compose: 3
    👏🏼 2
    1 reply · 1 participant
  • p

    pjagielski

    04/25/2021, 9:22 PM
    Sunday Vibes 😉 https://livecoding-recipes.github.io/live-coding/remake/2021/04/24/recreating-still-dre-in-kotlin.html "Still D.R.E." recreated in Kotlin using https://github.com/pjagielski/punkt
    🎶 7
    :kotlin-intensifies: 10
    🤘 2
    e
    1 reply · 2 participants
  • h

    HUONG

    04/26/2021, 2:18 AM
    Hey guys, I am a android developer in Vietnam. I wrote my first article about ConstraintLayout. This article include all of things about this new layout. Let’s enjoy it even you know about it. Happy coding. Android ConstraintLayout — All Of the Things | by IMStudio | Geek Culture | Apr, 2021 | Medium
    👏 2
    1 reply · 1 participant
  • c

    Cicero

    04/26/2021, 11:31 AM
    Hey, again, this project is looking interesting and the guy is implementing a game with compose and doing it community driven: https://twitter.com/imakeyouagame/status/1386331623172579331
    👍🏼 1
    a
    2 replies · 2 participants
  • t

    travis

    04/29/2021, 6:40 PM
    For those unfamiliar with Kable (it is a multiplatform library that provides a simple Coroutines-powered API for interacting with Bluetooth Low Energy devices) and I'm happy to share the release of version 0.5.0. Since my initial announcement of Kable, we've fixed a bunch of bugs and added the iOS target. Thanks to everyone who contributed bug reports and feature requests. https://kotlinlang.slack.com/archives/CCSFQJD7V/p1619628385000700
    👏🏽 1
    👍 4
    🙌 3
    🙌🏽 1
    👍🏽 1
    👏 11
    c
    1 reply · 2 participants
  • a

    altavir

    04/30/2021, 8:17 AM
    Plotly.kt version 0.4.0 is released with new package name (
    space.kscience
    ) and mavenCentral publishing (no longer depends on 3-rd party libraries from bintray) as well as Kotlin 1.5 in the core. There are only minor changes in features, but there are some bugfixes and the general code cleanup. Jupyter integration is now based on new notebook API, so the integration status goes beta (here is a short tutorial about that). There are still some hiccups with resource loading. Have a nice Kotlin plotting.
    :kotlin-intensifies: 5
    🙌 2
    👍🏽 1
    👍 16
    👍🏼 1
    1 reply · 1 participant
  • m

    Matt Anger

    05/04/2021, 7:12 PM
    At DoorDash we are one of the largest adopters of Kotlin as a backend language. I wrote a blog post with a detailed comparison of all our top choices. It also explains how we overcame some challenges to realize Kotlin as a better version of Java. https://doordash.engineering/2021/05/04/migrating-from-python-to-kotlin-for-our-backend-services/
    🔥 4
    👍 23
    a
    d
    +4
    48 replies · 7 participants
  • n

    nfrankel

    05/06/2021, 2:02 PM

    https://www.youtube.com/watch?v=MyTkiT2I6-8▾

    you missed posting this one @Sebastian Aigner too bad because it’s great (imho)
    s
    a
    3 replies · 3 participants
Powered by Linen
Title
n

nfrankel

05/06/2021, 2:02 PM

https://www.youtube.com/watch?v=MyTkiT2I6-8▾

you missed posting this one @Sebastian Aigner too bad because it’s great (imho)
s

Sebastian Aigner

05/06/2021, 2:03 PM
Good point, Nicolas – thanks a ton for sharing it here! 🤗
👍 1
n

nfrankel

05/06/2021, 2:34 PM
thanks for making it 🙂
a

altavir

05/06/2021, 2:57 PM
Yep. Pretty nice. I've watched it even after making some releases with Kotlin 1.5. 🙂
View count: 1