Posts by Guilherme Chaguri • 172 points
7 posts
-
0
votes1
answer134
viewsA: Gson does not work
The problem is in Fields. GSON does not need and does not use setters and getters, it only needs Fields with the same json name. For example, for json: {"KeyNoJson": "Valor"} You must have: class…
-
1
votes3
answers86
viewsA: Setting a Field for a Proxy
I found the solution after a long time searching. Cglib has a great API for using Proxies. I started reading about here Thank you to everyone who has helped in any way.…
-
6
votes6
answers2856
viewsA: Can not use "{ }" IF keys in PHP cause problems?
As all answers said, you can only use ONE command after an if without keys But if you don’t like the keys, you have another option: if($algumacoisa) : echo 'foo'; echo 'bar'; endif; The same for…
-
2
votes3
answers86
viewsQ: Setting a Field for a Proxy
Hello, I’m having a problem: I need to change the value of a Field to a proxy. My proxy works perfectly, but I can’t modify a Field. Whenever I try returns me an Illegalargumentexception saying I…
-
2
votes2
answers312
viewsA: Store Click on cookie
Create another table to store clicks, and put the USER ID, a TIMESTAMP for the time it was clicked, and the ID of such post. CREATE TABLE Cliques (userid int, data timestamp, postid int); To get the…
-
1
votes3
answers250
viewsA: Java 8 + Android
I think so, but I do not recommend doing this, because there are still many users who must still be using Java 7. It is always good to keep your app working on the current and previous version of…
-
2
votes3
answers3057
viewsA: Smooth Transition in Image Slider
To do this, try to create a div within the header-slider which must be the same size as the header-slider. After that, you can play with the backgrounds since you can put two at the same time. Here…