Posts by Edilson Ngulele • 411 points
7 posts
-
1
votes2
answers343
viewsA: Click Checkbox component and enable Edittext
Try it like this: CheckBox checkbox = (CheckBox) findViewById(R.id.checkbox); checkbox.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { if (((CheckBox)…
-
2
votes1
answer1932
viewsA: Edittext customization on Android
The best way to customize or style a EditText, just like any other view, is creating a dedicated xml file for such. A file dedicated to customization ensures: Reuse; Organizing; Easy access; For…
androidanswered Edilson Ngulele 411 -
8
votes4
answers3854
viewsA: findViewById no Kotlin
Forget about Findviewbyid :) Using "Extensions" you no longer need to use findViewbyId in Kotlin. You can access your views directly using the ID. It’s simple: 1 - In Gradle, add the plugin: apply…
-
2
votes1
answer60
viewsA: Android Instant Apps can control deep links?
In short: Yes it is possible. Additional explanation For Android Instant Apps it is recommended to use Android App Links (which is equivalent to IOS Universal Links) instead of Deep Links. Deep…
androidanswered Edilson Ngulele 411 -
4
votes2
answers626
viewsA: Convert json array to retrofit
Convert Json Array to Retrofit(2) 1 - Defining the classes model which will be used to map JSON data: Cardapio. import java.util.List; import com.google.gson.annotations.Expose; import…
-
4
votes2
answers1773
viewsA: What is the Retrofit?
What is the Retrofit Retrofit is a library developed by Square that is used as a REST Client on Android and Java. Uses library Okhttp to make the Http Requests. Retrofit makes it easy to recover and…
-
4
votes3
answers2941
viewsA: What is a View on Android?
What is a View? Nothing more and nothing less than a simple rectangular box that responds to the user’s actions. What is the purpose of View class It represents the blocks where the interface…