Posts by Raquel • 21 points
5 posts
-
1
votes4
answers3854
viewsA: findViewById no Kotlin
The plugin kotlin-android-extensions was discontinued. Replace for the Binding view Remove the plugin kotlin-extensions in the build.gradle (app) and Sincronize (Sync) Remove possible Imports from…
-
1
votes2
answers32
viewsA: I need to separate a String message in 6 Textviews
Tip: See the documentation about Textviews To define specific texts for different Textviews You first need to define the id (@+id) of each one, then use the desired method pointing to the correct…
-
0
votes2
answers72
viewsA: How to access a String inside the body() in the retrofit in Kotlin?
I solved this and other result access issues using the Coroutines. Easier to use with a few lines of code. I followed this tutorial here Replaces the call.enqueue for: fun callImage() { val…
-
0
votes2
answers72
viewsQ: How to access a String inside the body() in the retrofit in Kotlin?
I’m trying to access the json content inside body() through retrofit. I need the "url" in String. What’s missing from my code? Debugging the code I saw that the response.body() is returning the…
-
0
votes3
answers1479
viewsA: What is this "Could not find method schedule(View) in" error?
Here’s how it works for me: I checked the file AndroidManifest.xml and the first activity that starts with the app (in my case, I wanted to start with the .LoginActivity, but it was .MainActivity by…