https://kotlinlang.org logo
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
android
  • o

    oday

    10/14/2017, 5:26 PM
    guys, what exactly is this? http://snpy.in/66dFQz
    a
    • 2
    • 1
  • r

    Regan Russell

    10/16/2017, 12:42 AM
    can/should dataclasses be serializable ..?
    g
    • 2
    • 4
  • j

    jw

    10/17/2017, 6:32 PM
    3.1 will fix
    💯 1
    👍 2
    🙃 1
    😱 2
    😬 1
    k
    g
    • 3
    • 2
  • p

    Paul Woitaschek

    10/18/2017, 12:33 PM
    Afaik an intent is consumed once
    m
    • 2
    • 2
  • p

    Paul Woitaschek

    10/18/2017, 6:49 PM
    I have that. I’ll open a bug @jw
    a
    • 2
    • 2
  • k

    khanhbkqt

    10/19/2017, 3:53 AM
    Hi, does anyone have issues with test coverage with kotlin in android studio?
    r
    • 2
    • 2
  • t

    thomas

    10/19/2017, 9:03 AM
    😬 i'm not found on stackoverflow
    g
    • 2
    • 2
  • t

    tgmcians

    10/19/2017, 9:08 AM
    I am using anko logger in my application. Anko logger is printing
    info { "Test" }
    but not other logging level like
    debug { "Test" }
    I read that info is enabled by default. We need to set the log level to debug to get it worked. I found this command
    setprop  log.tag.MyApp  DEBUG
    . How to execute this command to enable it for all classes ?
    d
    • 2
    • 1
  • p

    parmesan

    10/19/2017, 6:11 PM
    Hi, simple but nonetheless important question! I'm migrating some Java -> Kotlin with a lot of logging going on; How do you guys declare the
    TAG
    string? Currently I'm just declaring it like:
    private val tag = AutoDispose::class.java.simpleName!!
    s
    k
    • 3
    • 5
  • k

    Kevin Janvier Chinabalire

    10/19/2017, 10:24 PM
    Gradle sync failed: Could not find com.android.tools.build:gradle:3.0.0-beta7.
    				Searched in the following locations:
    				file:/Applications/Android Studio Preview.app/Contents/gradle/m2repository/com/android/tools/build/gradle/3.0.0-beta7/gradle-3.0.0-beta7.pom
    				file:/Applications/Android Studio Preview.app/Contents/gradle/m2repository/com/android/tools/build/gradle/3.0.0-beta7/gradle-3.0.0-beta7.jar
    				<https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0-beta7/gradle-3.0.0-beta7.pom>
    				<https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0-beta7/gradle-3.0.0-beta7.jar>
    				Required by:
    				project :
    				Consult IDE log for more details (Help | Show Log) (2s 541ms)
    s
    • 2
    • 1
  • j

    Julien Biral

    10/19/2017, 10:47 PM
    add
    google()
    below
    jcenter()
    in your repositories
    k
    f
    g
    • 4
    • 4
  • p

    pike

    10/20/2017, 7:28 AM
    What's the general consensus between Rx and Coroutines?
    k
    • 2
    • 1
  • j

    jstuyts-squins

    10/20/2017, 8:52 AM
    Yes. Yes, it is 😉
    d
    • 2
    • 13
  • l

    lpirro

    10/20/2017, 10:43 AM
    Hi guys, i’m getting a lot of Caused by:
    org.gradle.api.GradleException: Internal compiler error. See log for more details
    when I build an app. For fixing this issue I need to peform
    Clean Project
    . But this is very frustrating. Someone can help me to analyze what’s happening? I’m on Android Studio 3.0 RC2.
    k
    • 2
    • 1
  • p

    paulnunezm

    10/22/2017, 2:16 AM
    Is anyone having issues with AS3.0 and the Kotlin Plugin?
    o
    p
    • 3
    • 3
  • i

    itsJoseph

    10/22/2017, 12:42 PM
    Hey there! With java, I was using retrofit for calling soap web service as it returns xml. It's just that I can't find a proper example of implementing this with kotlin. Hope to find some sources on this to work on, or at most explore some alternative aside from retrofit. Thanks!
    e
    • 2
    • 1
  • a

    agrosner

    10/22/2017, 12:45 PM
    Android studio -> convert to kotlin. retrofit is just an interface. You don't need a kotlin example. It's the same just with kotlin syntax
    i
    e
    k
    • 4
    • 8
  • w

    waqas

    10/23/2017, 2:44 PM
    Anybody can point me to some resources which will ease the pain to work with Mockito + Kotlin, specifically ArgumentCapture is broken after converting to Kotlin. I went through these already: https://kotlinlang.org/docs/reference/compiler-plugins.html#all-open-compiler-plugin http://hadihariri.com/2016/10/04/Mocking-Kotlin-With-Mockito/ https://medium.com/@elye.project/befriending-kotlin-and-mockito-1c2e7b0ef791
    a
    • 2
    • 5
  • r

    rwachol

    10/23/2017, 4:53 PM
    Hi Guys, I got the following error:
    > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2.
         Required by:
             project : > com.android.tools.build:gradle:3.0.0-rc2 > com.android.tools.build:gradle-core:3.0.0-rc2
    Does build plugin need kotlin now ?
    t
    • 2
    • 5
  • o

    oday

    10/24/2017, 10:10 AM
    hi everyone, I’m not sure how welcome this kind of post is here, but I made a video on how to implement Dagger on Android, it’s based on @antonioleiva’s article that I was asking about the other day, I’d love some feedback or just if it helps you in general, thanks for listening!

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

    g
    • 2
    • 3
  • r

    Reena N

    10/24/2017, 10:36 AM
    @Paul Woitaschek package com.reenanachare.kosample /** * Defination of sealed class */ ‘sealed class SealedClass’
    m
    • 2
    • 7
  • p

    parmesan

    10/24/2017, 1:47 PM
    Gooday! I have created a simple Kotlin library available via jitpack.io, when I extend my
    BaseActivity
    class Android Studio complains that
    Overriding method should call super...
    as a lint error. Since my inheriting class obviously calls super;
    override fun onPostResume() {
      super.onPostResume()
    }
    I guess this must be a lint error in AS or smth.. any ideas? 🤔
    k
    • 2
    • 1
  • p

    Prithiv

    10/25/2017, 7:22 AM
    Hi, my Android app raw folder size is more than 240MB. The App has full local audio files. We can't able to upload the apk file in the app store because the app size is more than 100MB so we plan to create multiple apk but that multiple apk files also have more than 230 MB. How can we upload the APK file in the play store (More than 230 MB without internal and external memory usage)? Or any idea about that?
    :stackoverflow: 6
    g
    p
    • 3
    • 7
  • a

    anderson.faro

    10/25/2017, 9:30 AM
    Hey Guys... How to add Firebase data to a RecycleView and show on the Android screen with Kotlin?
    g
    • 2
    • 3
  • p

    Paul Woitaschek

    10/25/2017, 9:33 AM
    The same as in java
    a
    • 2
    • 2
  • o

    oday

    10/25/2017, 10:16 AM
    hey guys, take this class for example
    a
    • 2
    • 2
  • o

    OriginX

    10/25/2017, 11:57 AM
    <Question> how do you guys do Kt linting on Android, especially with multidimension projects?
    g
    • 2
    • 1
  • c

    codeslubber

    10/25/2017, 4:37 PM
    all these fora are turning into do my noob homework… 😞
    ➕ 2
    p
    o
    • 3
    • 5
  • y

    Youssouf

    10/25/2017, 8:17 PM
    Hello every body.
    👋 2
    k
    • 2
    • 1
  • r

    Regan Russell

    10/26/2017, 1:23 AM
    I've upgrade to 4.2, I think the kotlin compiler is 1.1
    g
    • 2
    • 2
Powered by Linen
Title
r

Regan Russell

10/26/2017, 1:23 AM
I've upgrade to 4.2, I think the kotlin compiler is 1.1
g

gildor

10/26/2017, 1:41 AM
Could you show code on LoginActivity.java:43
Are you sure that you use new versions of support library?
View count: 1