I am trying to set some information in a CardView, where these are obtained from a JSON, however, it does not display, the information search is ok, it returns the values normally but does not display in the app ..
@Override
public void onCre...
Situation
I'm getting this type of error in my logcat and I do not know exactly what it can be. Although this error is not compromising the functioning of the application (so it is perceived) being compiled from Eclipse , the project still...
What is the difference between ListView and RecyclerView on Android?
From what APi RecyclerView is available?
Is it valid to use RecyclerView and not ListView ?
I'm trying to convert a JSON string to a Java object used by Gson.
This is the json I get from webservice:
{"concurso":
{
"numero":1499,
"data_sorteio":"01\/06\/2013",
"dezenas":[8,22,26,33,37,54]
}
}
Here...
When I installed and tried to open it for the first time, it worked perfectly, however, when I tried to open it again later, when I click on "Start a new Android Studio project", the window opens but it stays transparent forever (as you can see...
I wanted to know how to handle exceptions in my Webview, because sometimes the site is off, and the page does not load, and sometimes crashes the application. I tried a try catch on load, but it does not enter the exception, I want it...
I created the values-es folder, with the file strings.xml with items in the string array.
But when I put the translation into Spanish on the phone, I open the application and nothing happens, continues Portuguese.
I want to delimit a radius from a central coordinate (the red marker in the figure) and, from a set of coordinates (the green markers), check if they are within the area delimited by this radius. >
How to identify, from a set of coordinates (...
Why can not I extend classes with private constructor?
Getting the A: classes
public class A {
private A(){}
public static void limao(){}
}
and B:
public class B extends A {
private B(){}
public static void banana()...