Paul Woitaschek01/07/2022, 12:17 PM
andylamax01/08/2022, 8:22 AM
Has anyone given it a try??
iosSimulatorArm64 watchosSimulatorArm64 tvosSimulatorArm64 macosArm64
Ethan Hsu01/10/2022, 2:43 AM
mcpiroman01/11/2022, 10:43 AM
Jason5lee01/12/2022, 1:45 PM
said, ‘It takes ten years to build your Rust project.’ And programmer asked, ‘Morning or afternoon?’ .
said, ‘Ten years from now, what difference does it make?’ and he said, ‘Well, Android Studio finishing importing my Gradle project in the morning.’”
Colton Idle01/12/2022, 6:02 PM
Piotr Krzemiński01/14/2022, 1:13 PM
Jason5lee01/16/2022, 3:40 PM
error on GitHub action when testing macOS and iOS Kotlin Native.
e: java.lang.IllegalStateException: Unsupported Xcode version 12.4, minimal supported version is 12.5.
Zun01/17/2022, 6:16 PM
Jason5lee01/18/2022, 8:19 AM
christophsturm01/21/2022, 3:51 PM
ursus01/24/2022, 12:22 AM
LeoColman01/24/2022, 7:38 PM
Jason5lee01/26/2022, 1:12 PM
Colton Idle01/27/2022, 12:38 AM
Can Korkmaz01/27/2022, 7:27 PM
ursus01/28/2022, 4:41 PM
Colton Idle01/29/2022, 6:15 AM
napperley02/03/2022, 10:36 PM
andylamax02/04/2022, 12:01 AM
therealbluepandabear02/04/2022, 4:26 AM
? I have a pixel art editor (made with
and written 100% in Kotlin) and I want to give the user the option to enable grid lines, but using
is not performant at all, and I've been trying to find a better alternative for some time now. Not to mention it's also verbose and for larger canvases it is not performant. I've spoken to a couple of people who have created a pixel art editor for Windows and they say that most platforms have a custom grid-drawing implementation for
which is lightweight and easy to use, but I so far haven't found one in Android. I also haven't found any library on GitHub which assists in this. I understand this is a niche question - since most people haven't created a pixel art editor/have experience in this space - but if anyone has any info/leads please let me know; it's mostly an app for a school project (and will be on the Play Store in the future), and I want it to function perfectly 😄 Cheers 🙏🏻, thebluepandabear
Gavin Ray02/07/2022, 1:29 AM
has Context Receivers/Multiple Receivers Check this out 😍 😍
ephemient02/07/2022, 11:43 PM
Gabi02/08/2022, 1:43 PM
LeoColman02/08/2022, 3:42 PM
to a Java developer that will start working with Kotlin. I wanted to do it in a succinct way that I can send as a slack message without being too boring. A longer cheatsheet or glossary is probably what I'm looking for, but I couldn't find it yet.
rook02/08/2022, 4:26 PM
, whereas the output of line 24 is
. I was under the impression that
was effectively the same type inference logic as
foo as? Bar ?: foo
. Can someone shed some light on the differences here?
if (foo is Bar) foo else foo
pablisco02/09/2022, 9:31 AM
Gavin Ray02/11/2022, 7:36 PM
, and setting the below compiler arguments seems to make a near-zero impact on performance. Does anyone have experience or suggestions on changes that DO make improvements?
freeCompilerArgs = freeCompilerArgs + listOf( "-Xlambdas=indy", "-Xsam-conversions=indy", "-Xstring-concat=indy-with-constants", "-Xtype-enhancement-improvements-strict-mode", "-Xinline-classes", "-Xnew-inference", "-Xunrestricted-builder-inference", "-Xuse-fir", "-Xuse-fir-extended-checkers" )
Gavin Ray02/13/2022, 6:55 PM
loops etc and mutable collections and whatnot.
for (x in y)
Paul Woitaschek02/17/2022, 12:26 PM
Klitos Kyriacou02/17/2022, 3:01 PM
in Kotlin when you can do
if ("literal" == variable)
even when the variable might be null? (By the way, the expressions 0, 1, etc, look more like Fortran label numbers to me rather than resulting values.)
if (variable == "literal")
Svyatoslav Kuzmich [JB]02/17/2022, 7:55 PM
would be a compile error while
if ("literal" = variable)
would be a runtime bug.
if (variable = "literal")
Klitos Kyriacou02/18/2022, 9:39 AM
Youssef Shoaib [MOD]02/18/2022, 10:13 AM
Gavin Ray02/18/2022, 11:00 PM