Project: Handle purchase project: Handle Group 11.07 build framework Download data
Gson Gson = new Gson (); Type type = new typetoken<arraylist< data type >> () {}.gettype (); arraylist< data Type >list = Gson.fromjson (Json,type);
where type is Java.lang.reflect.type
TypeToken to Gson.reflect.typeToken
How to set the picture size 11.09ListView The refresh command is only relevant to the GetView of the ListView, and Headview has nothing to do with customizing the GridView to fit in the ListView nesting to be able to slide in a small number of cases, as the optimization of all failures to resolve the different resolution display effect To set the size of the layout by screen size, the code:
Get screen parameters WindowManager Systemservice = (WindowManager) getactivity (). Getsystemservice (Context.window_service); Mdisplay = Systemservice.getdefaultdisplay ();
Gson parsing
Project handle purchase development record