(to be continued) A cursory look at the Yang Guangfu Video tutorial, the software architecture is organized as follows.
1. First introduce the side-slip menu, and the main content page.
The slide-by menu is registered in the first oncreate of the software. and set parameters, such as slide-slip mode and the number of pixels sliding.
2. Write the layout file for the slide-by menu and the main content page. and write these two layout files of the fragment file, and put these two fragment of the repeating place, abstracted out, forming the base class, extracting two methods, Initview and InitData.
3. In the main file, replace the previously written layout file with the Fragmentmanager method, you can implement the initial slide and main content file preliminary schema. and delete the layout code from the repeating layouts file.
4. On the main content page, implement Viewpager and Radiogroup.
Android software implementation architecture.