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
  • r

    Raul

    10/17/2020, 2:19 PM
    I published this article about
    StateFlow
    yesterday, hope you enjoy it! Give me your feedback, thanks and have a lovely weekend https://proandroiddev.com/synchronous-communication-with-the-ui-using-stateflow-74f6ed68eff5
    🎉 5
    👍🏼 6
    👏🏾 1
    b
    3 replies · 2 participants
  • n

    nfrankel

    10/21/2020, 1:59 PM
    https://kotlintesting.com/using-mockito-in-kotlin-projects/
    j
    2 replies · 2 participants
  • b

    Big Chungus

    10/21/2020, 2:22 PM
    Inspired by community projects like Awesome Kotlin & multiplatform-libraries I've decided to write the next gen of such projects. Introducing KAMP (camp but with k, because you can't have kotlin without k...)! This is still in early stages of development, but the idea is the self-updating catalog that automatically scans various maven repositories and finds kotlin libraries. Today I'm happy to share the scanner preview, that is already able to scan mavenCentral and jcenter. Turns out there are over 1.3k kotlin libraries published with gradle metadata on maven central alone! You can have a look at them all in
    sampleData/mavenCentral.zip
    . The end goal of the project is a hosted web-service to serve as a one-stop-shop for all your kotlin lib needs allowing you to filter available libraries by the set of platforms your project is targeting. Star/watch the repo for further updates :)
    ❤️ 1
    👍 5
    m
    a
    66 replies · 3 participants
  • r

    Raul

    10/22/2020, 11:14 AM
    I’d like to share my presentation for Droidcon EMEA, it’s about a few things really despite the title is “Fueled Reactive apps with Asynchronous Flow” v2 like: • Differences between Asynchronous and Synchronous processes • Architectural patterns and designs - using MVP + Clean Architecture • Quick review of Basics of Coroutines vs RxJava 2: lifecycle, scopes, etc • Migration from RxJava 2 to Kotlin Coroutines powered by Kotlin Flow • View Delegates: Implementation of
    Channel
    instead of
    Subject
    • Use Cases / Interactors + Repository and data sources - Implementation of
    Flow
    instead of
    Observable
    • Data sources: - Implementation of
    suspend
    functions instead of
    Single
    and
    Maybe
    • Views and connections with Presenter + Interactors: Implementation of
    StateFlow
    instead of
    Callback
    • Pros and Cons and lessons learned https://www.droidcon.com/media-detail?video=470160616
    👍 2
    e
    5 replies · 2 participants
  • b

    Big Chungus

    10/22/2020, 5:11 PM
    npm-publish@v1.0.0 gradle plugin is out! The main highlights of this release: • Kotlin/JS dependency (non-npm) bundling • IR compiler support • Typescript declaration packaging (via IR compiler) Give it a go! 🎉
    👍 3
    🎉 3
    s
    t
    70 replies · 3 participants
  • m

    marcinmoskala

    10/23/2020, 6:54 AM
    Kotlin for Interviews — Cheatsheet https://blog.kotlin-academy.com/kotlin-for-interviews-cheatsheet-88a9831e9d55
    👍 9
    🎉 6
    e
    n
    +4
    10 replies · 7 participants
  • c

    cedric

    10/25/2020, 12:31 AM
    James Ward and Bruce Eckel invited me to talk about Kotlin to their Happy Path Programming podcast, and boy, did we... Hope you enjoy it! https://podcasts.apple.com/gb/podcast/8-kotlin-revisited-with-cedric-beust/id1531666706?i=1000493831847
    👍 4
    s
    9 replies · 2 participants
  • s

    Slackbot

    10/25/2020, 11:05 AM
    This message was deleted.
    ❤️ 4
    v
    e
    14 replies · 3 participants
  • l

    Lukas Lechner

    10/28/2020, 2:32 PM
    Hi! I created a “Kotlin Coroutines Exception Handling Cheat Sheet”. It might be helpful 👉 https://www.lukaslechner.com/coroutines-exception-handling-cheat-sheet/
    👏 3
    🔥 4
    👏🏾 3
    j
    3 replies · 2 participants
  • t

    tipsy

    10/31/2020, 8:26 PM
    i made a starter project for creating admin websites using kotlin: https://github.com/tipsy/kotlin-admin-template
    👏 4
    b
    10 replies · 2 participants
  • a

    Alex Vanyo

    11/03/2020, 12:22 AM
    Just published https://medium.com/livefront/sealed-enum-replacing-enums-in-kotlin-4c513e7e8db, the introduction article for https://github.com/livefront/sealed-enum! It’s a runtime library and annotation processor that allows sealed classes of objects to completely replace normal enum classes, allowing for enumerations with base classes, generics, and hierarchies.
    👏🏾 5
    t
    2 replies · 2 participants
  • g

    gammax

    11/04/2020, 1:16 PM
    Hey all 👋 I wanted to share another article I wrote as part of the “How-to Github Actions” series. This article is about setting up a Build Matrix and configuring a Shadow Job. As a plus, I share our success story on how we migrated #detekt to Github Actions. https://cortinico.medium.com/how-to-github-actions-build-matrix-e6a1433a8ff5
    👍 2
    s
    2 replies · 2 participants
  • o

    Oleg Yukhnevich

    11/05/2020, 8:36 AM
    Hey, we have first release of multi-platform rsocket-kotlin! (which is available on jcenter) It's still WIP, so API can change, but feel free to check it and give feedback! https://github.com/rsocket/rsocket-kotlin
    🚀 2
    ❤️ 2
    🎉 11
    y
    3 replies · 2 participants
  • d

    deniskrr

    11/06/2020, 10:16 PM
    Hey 😄 Wouldn’t it be cool if you could transfer your knowledge to the compiler? See how you can make the compiler smarter with Kotlin Contracts! https://deniskrr.medium.com/how-to-make-the-compiler-smarter-b37f414875ac
    s
    1 reply · 2 participants
  • d

    Dmitry Kandalov

    11/10/2020, 3:45 PM
    Following the recent Global Day of Coderetreat, @dmcg and I paired on Conway’s Game of Life using Kotlin (obviously) and test-and-commit-or-revert workflow (aka TCR, to make the process more exciting 😅)

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

    👏 3
    n
    d
    4 replies · 3 participants
  • e

    elizarov

    11/16/2020, 1:18 PM
    The recent release of kotlinx-coroutines added the concept of shared flow which made broadcast channels obsolete. Here's the background story https://medium.com/@elizarov/shared-flows-broadcast-channels-899b675e805c
    🍅 6
    :kotlin-intensifies: 13
    :kotlin-flag: 3
    😒uspend: 9
    🙏 5
    👀 4
    👍 37
    d
    p
    17 replies · 3 participants
  • d

    diego-gomez-olvera

    11/17/2020, 11:13 AM
    Flow docs for Android. While the examples are Android based, they can also apply to other platforms. http://d.android.com/kotlin/flow
    👍 13
    n
    2 replies · 2 participants
  • r

    Robert Jaros

    11/19/2020, 12:41 PM
    https://github.com/JetBrains/kotlin/releases/tag/v1.4.20
    🙂 1
    🎉 21
    m
    4 replies · 2 participants
  • s

    Slackbot

    11/20/2020, 11:34 PM
    This message was deleted.
    🚓 4
    😠 7
    🙅‍♂️ 2
    n
    m
    3 replies · 3 participants
  • d

    dmcg

    11/23/2020, 9:57 AM
    I’ve been trying to find a way to perform validation on inline classes. The language designers really don’t want to allow this, as it would make Java interop unsafe in some circumstances. If you have a pure Kotlin codebase that’s a shame. So I present a hack to get validated inline tiny types in Kotlin. http://oneeyedmen.com/inline-tiny-types.html
    i
    3 replies · 2 participants
  • t

    tipsy

    11/23/2020, 3:12 PM
    i made a small tech demo for running Javalin on Project Loom: https://github.com/tipsy/loomylin
    👍 3
    s
    3 replies · 2 participants
  • n

    nfrankel

    11/24/2020, 12:46 PM
    https://objectcomputing.com/products/micronaut/resources/micronaut-for-microservices-with-kotlin
    ✔️ 2
    c
    m
    3 replies · 3 participants
  • k

    Kanchan Pal

    11/29/2020, 12:16 PM
    #android #jetpack #clean architecture  Hi All, Check out an article explaining well defined android architecture components. Hope it helps people looking to create similar projects for learning a good android application development. https://kanchan-pal.medium.com/news-android-app-607f9dc6a3d1 Project link: https://github.com/kanch231004/News-Feed Surely your claps and starring the project if you find it helpful would be motivating for future articles and projects https://www.linkedin.com/feed/update/urn:li:activity:6738782661868867584
    j
    d
    2 replies · 3 participants
  • r

    rajesh

    11/30/2020, 8:50 AM
    I've created android library to manage database caching and networking with ease. It helps you to handle all scenario of API request(success/error/loading) in one place along with database caching using kotlin flow. Have a look: https://github.com/hadiyarajesh/flower
    👀 2
    m
    1 reply · 2 participants
  • s

    Sebastian Aigner

    12/03/2020, 5:30 PM
    🌐 Wrote a little tutorial on how to deploy Kotlin + Ktor apps on Heroku. Take a look if you have 10 minutes and want to see how you can get your server-side app in front of an audience (for free)! https://dev.to/kotlin/publishing-server-side-kotlin-applications-ktor-on-heroku-2ce4
    🎉 11
    👍 2
    m
    j
    2 replies · 3 participants
  • s

    Slackbot

    12/06/2020, 9:24 PM
    This message was deleted.
    😒 2
    👎 6
    j
    f
    +6
    12 replies · 9 participants
  • d

    Dmitry Kandalov

    12/08/2020, 6:26 PM
    Here is a pair programming session in which @dmcg takes me on a refactoring journey to convert some Java functions to Kotlin extension functions

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

    👍 9
    r
    1 reply · 2 participants
  • s

    satyan

    12/08/2020, 7:55 PM
    Hey 👋 I just published my first article on migrating from LiveData to StateFlow https://fabernovel.github.io/2020-12-07/android-from-livedata-to-flows Feel free if you have feedbacks to hit me on my Twitter 😉
    :party-parrot: 1
    👏 3
    :blob-okay-hand: 1
    👀 2
    d
    a
    13 replies · 3 participants
  • s

    Shiva Kishore Tekale

    12/10/2020, 9:48 AM
    Hello everybody, I have been using Java from so many years, now I'm moving to Kotlin. I'm really fond of Functional programming. Any pointers to learn it better?
    m
    n
    +4
    8 replies · 7 participants
  • s

    Slackbot

    12/11/2020, 4:59 PM
    This message was deleted.
    a
    1 reply · 2 participants
Powered by Linen
Title
s

Slackbot

12/11/2020, 4:59 PM
This message was deleted.
a

altavir

12/11/2020, 5:01 PM
Are you sure it should be in the feed?
➕ 1
View count: 2