71 questions
private class PP { private var i = 1 private fun privateF() { i += 1 } fun access() { privateF() }}class OC { fun test() { val pc = PP() }}Here, why is it possible to create an object witho...
I would like to make a permission request using Jetpack Composer and Accompanist on Android in a Jetpack-like way.https://google.github.io/accompanist/permissions/I'd like to get permission for Foregr...
Ex ExpandableListView (id:test1)②ExpandableListView (id:test2)が is not displayed.①If you put を and 記載 in the same xml file, it will be displayed without any problems.If you put を in の,valtest1=require...
I tried to start the android emulator by pressing the run button, but the following error occurred and it didn't work.US>Error statementI uploaded the kotlin version by referring to the post below, bu...
I am currently creating an Android app on Kotlin, but I want to use the FusedLocationProviderClient to get GPS information at regular distance intervals, but I can't get it well.It's natural that it's...
On Android, there is a button on the screen, and I want to read NFC tags only while I press that buttonI'm trying to do it with the code below, but when I put the NFC card close while I was pressing t...
How do I use textInputLayout in Android studio?I looked it up on Google and it seems that the support has already ended, so please let me know what I can do instead.
The view all attributes at the bottom cannot be found.The second picture is a sample, but The first picture will be the one I'm developing.I want to find view all attributes, but I can't find view all...
Since Kotlin does not want to invoke a specific method in only one of several implementation classes for an interface, we would like to prevent it from being used by making a compilation error.Specifi...
How to split where the list values are differentCurrently in List<Integer>{1,1,2,2,3,3,3,3,3}and so on.Is it possible to divide this between 1 and 2 and between 2 and 3 and return List<List&g...
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.