kotlin tag

71 questions


1 answers
115 views
0
I want to load more than one sound source file in kotlin soundPool.

Using the following article as a reference, I am creating an Android app on kotlin.https://akira-watson.com/android/kotlin/soundpool-play.htmlWhat I want to do is create about 50 buttons and make diff...

2 years ago

1 answers
77 views
0
How do I process the arguments of the secondary constructor to make them unchangeable property values?

I think the only thing I can do is initialize the unalterable properties through the primary constructor, but I'm having trouble with how to call the primary constructor using the results calculated b...

2 years ago

1 answers
114 views
0
Unable to upload Android app aab file in Play Console

After creating and releasing one app on Android Studio, I am now trying to upload the second app from the Play Console.When I try to upload a file with the extension .aab created with Android Studio i...


1 answers
96 views
0
Realm+kotlin android RealmMigrationNeededException—Field count is more than expected

Realm 2.1.1 + kotlin 1.1.3 environment.The exception RealmMigrationNeedException: Field count is more than expected always occurs during maigration.Before migration public open class TestObject():Real...

2 years ago

1 answers
108 views
0
The Android app does not reflect the settings.

I created the settings screen using the PreferenceLibrary and kotlin, but once I close the application and reopen it, it will be reflected, but if I use it as it is, the settings will not be reflected...

2 years ago

1 answers
94 views
0
Understanding Automatic Login with Firebase Authentication

I created a login function using the Android app.I use userid and password to log in.After that, after the second time, I want to automatically log in without going through the login screen and transi...

2 years ago

1 answers
88 views
0
How do I check if a document exists in the Firestore?

How do I check if the document exists in the Firestore?The language is Kotolin.

2 years ago

1 answers
84 views
0
Understanding Kotlin Return Statements

So I wrote a code saying that if the document of the UserID entered exists, it will return an error.However, ➀In the code, the dbError variable is returned null instead of being updated.➁If you use th...

2 years ago

2 answers
76 views
0
I don't know how to pass the database id during the screen transition.

I would like to create a Tap each item in ListView to see the details screen corresponding to the item flow in Kotlin.I don't know how to get the id of the item I tapped and give it to the detail scre...


2 answers
94 views
0
How do I give a function as the default argument on an interpreter?

On kotlin's command-line interpreter (kotlinc-jvm1.1.2-2), first define the function id and >> funid(x:Int)=xThen I tried to define the function applyTo10 and got an error.>>fun applyTo10(...

2 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.