1, the directory according to the need to add their own
Adapter for various adapters such as Recyclerview, ListView, etc.
Fragment Storage Fragment
Model stores data models, interfaces, data, etc.
Transform to store some custom controls
Utils Store some tool classes
2. catalog view
3. Main operation sequence
The Mainactivitu store is placed into four fargment and then implemented in the model write interface and implementation method. The interface writes callback method, Fargment inherits the callback interface, implements the method to return the data to the callback interface. And then display it in the UI layer
4. Code display
1.MailActivity Starting Fargment2.datamoldel Moldel entity class in Mailactivity
3.HomeDao interface, data function interface, callback method interface 4. implement method, inherit interface, populate callback method data 5.HTTP Util program Request JSON data parsing tool class
6.json request URL7. ADapter Adapter
An explanation of Android MVC Development Framework