kotlin tag

71 questions


2 answers
101 views
0
How to Identify the Button Pressed During Screen Transition in Android

I'm thinking about using Intent to make screen transitions on Android.I would like to reflect the selection of the child screen on the parent screen when I close the screen on the child screen. Is the...

1 years ago

1 answers
76 views
0
US>Build Error in ? After Plug-in Update

After the plug-in update?, the build has not been successfully.The source is the same as the code in the Kotlin start book.(Contents up to 250 pages)I wanted to try various things in REPL, so I create...

1 years ago

1 answers
80 views
0
I want to release AlertDialog, but I get a build error.

Problems you are havingI want to issue an AlertDialog, but I get a build error.I looked it up, but I don't know, so please let me know.valdialogBuilder=AlertDialog.Builder(this)Here's an error message...

1 years ago

1 answers
64 views
0
"Unresolved reference kotlinx" error

An error occurred when I upgraded Android studio to 1.3.2.import kotlinx.android.synthetic.activity_userpage.pagerimport kotlinx.android.synthetic.activity_userpage.tabsWhen you hover your cursor over...


1 answers
103 views
0
I want to transition from Fragment to Activity

I am programming using Bottom navigation, which is included in Android Studio from the beginning, but I don't know how to transition from Fragment to Activity.After coding as below, there is no error ...


1 answers
111 views
0
A good way to write a generic class definition that does not require a type parameter name

sealed class response<T>{ data class success <T> (value:T): Response <T>() data class fail<T>(valueerrorMessage: String):Response<T>()}fun<T>fetch(onResponse:(Respo...

1 years ago

1 answers
103 views
0
How do I change the value in EventHandler before onCreate?

I would like to change the value of uri according to the conditions before displaying WebView on Android. override fun onCreate (savedInstanceState: Bundle?) { super<DefaultActivity>.onCreate(s...

1 years ago

1 answers
69 views
0
I want to replace Java code with Kotlin code.

I tried replacing Java with Kotlin as shown in the code below, but if I remove the comment out, I get a compilation error.Java is longer, so it may have become a Kotlin code like Java, but what do you...

1 years ago

1 answers
88 views
0
How do I close the PreferenceScreen?

I created an application with user settings using Kotlin and the Preference Library, but I don't know how to close the settings screen.I want the title bar to go back when I press that button on top.(...


2 answers
101 views
0
I would like to know the content of my request when I get a WebAPI response.

Calling the same WebAPI multiple times while changing the request parameters.I am using Merge from RxJava.WebAPI will return the price if you specify the product name, but the product name you specifi...

1 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.