Posts by Lucas Oliveira • 31 points
4 posts
-
0
votes0
answers56
viewsQ: How to Resolve Unexpected end of JSON input using jQuery
I have a Java API that authenticates a user based on their email and password using JWT. I am trying to consume this API with jQuery. When running the following method, the request falls into error…
-
1
votes1
answer71
viewsQ: Referencing components of Activity
I searched but found no answer. I need to access a TextView that is present in my Activity within a Java Class that is independent of the Java Class itself Activity. The way I tried was by creating…
-
0
votes3
answers148
viewsA: Transform Jsonarray into Class Object
Thanks for the help ! I managed to do it another way. JSONObject jsonObject = null; try { for(int i = 0; i<resultadoDaPesquisa.length(); i++) { jsonObject = resultadoDaPesquisa.getJSONObject(i);…
-
2
votes3
answers148
viewsQ: Transform Jsonarray into Class Object
I am consuming an API in my application that returns me an array of names, I created a class to assign each name to 1 instance but I am having problems to take this Jsonarray and transform into…