Paul Woitaschek
01/07/2022, 12:17 PMandylamax
01/08/2022, 8:22 AMiosSimulatorArm64
watchosSimulatorArm64
tvosSimulatorArm64
macosArm64
Has anyone given it a try??Ethan Hsu
01/10/2022, 2:43 AMmcpiroman
01/11/2022, 10:43 AMJason5lee
01/12/2022, 1:45 PMcargo build
. cargo
said, ‘It takes ten years to build your Rust project.’ And programmer asked, ‘Morning or afternoon?’ .cargo
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 Idle
01/12/2022, 6:02 PMPiotr Krzemiński
01/14/2022, 1:13 PMJason5lee
01/16/2022, 3:40 PMe: java.lang.IllegalStateException: Unsupported Xcode version 12.4, minimal supported version is 12.5.
error on GitHub action when testing macOS and iOS Kotlin Native.Zun
01/17/2022, 6:16 PMJason5lee
01/18/2022, 8:19 AMchristophsturm
01/21/2022, 3:51 PMursus
01/24/2022, 12:22 AMLeoColman
01/24/2022, 7:38 PMJason5lee
01/26/2022, 1:12 PMColton Idle
01/27/2022, 12:38 AMCan Korkmaz
01/27/2022, 7:27 PMursus
01/28/2022, 4:41 PMColton Idle
01/29/2022, 6:15 AMnapperley
02/03/2022, 10:36 PMandylamax
02/04/2022, 12:01 AMtherealbluepandabear
02/04/2022, 4:26 AMdrawLine()
?
I have a pixel art editor (made with Bitmap
and written 100% in Kotlin) and I want to give the user the option to enable grid lines, but using drawLine()
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 Bitmap
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 🙏🏻,
thebluepandabearGavin Ray
02/07/2022, 1:29 AM1.7-dev
has Context Receivers/Multiple Receivers
Check this out 😍 😍ephemient
02/07/2022, 11:43 PMGabi
02/08/2022, 1:43 PMLeoColman
02/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.rook
02/08/2022, 4:26 PMFoo's ext
, whereas the output of line 24 is Bar's ext
. I was under the impression that foo as? Bar ?: foo
was effectively the same type inference logic as if (foo is Bar) foo else foo
.
Can someone shed some light on the differences here?pablisco
02/09/2022, 9:31 AMGavin Ray
02/11/2022, 7:36 PMjvmTarget
from 1.8
to 17
, 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 Ray
02/13/2022, 6:55 PMfor (x in y)
loops etc and mutable collections and whatnot.Lin Zhang
02/17/2022, 11:32 AM