Posts by Emerson Jones • 76 points
5 posts
- 
		2 votes3 answers101 viewsA: Mysql printing multiple timesImprove your query by linking tables and grouping values with group by SELECT nome, endereco FROM locadora.cliente, locadora.endereco where locadora.cliente.cli_id = locadora.endereco.cli_id group… 
- 
		1 votes2 answers57 viewsA: How to use the same Drawer Navigation menu on multiple Activitys without repeating code?It is possible to use only one Activity, and inject fragments in the container, so it would be only with a menu (however I do not recommend, but it is at your discretion) 
- 
		1 votes4 answers168 viewsA: How to parse in Android JsonUse the GSON. Assemble an object exactly in the structure you need with implements Serializable Sub-items with list occurrences must be inside Sample Arrays: ArrayLists<parametrosList>...… 
- 
		1 votes1 answer187 viewsA: Convert Gson to List<Object>implement Serializable in the Categoriaitem class, then just use it like this: CategoriaItem categoria = gson.fromJson("{id:1,cat:teste,icone:icone}", CategoriaItem.class); note that if it is an… 
- 
		1 votes2 answers818 viewsA: How to avoid restarting the screen elements when turning the phone?Great solution Pablo Almeida, I used this same, with a Serializable object, so I did not need to implement anything of Parceable. But you have to cast the object on the return of onCreate...… androidanswered Emerson Jones 76