|
|
vor 8 Jahren | |
|---|---|---|
| lib_common | vor 8 Jahren | |
| module_app | vor 8 Jahren | |
| module_girls | vor 8 Jahren | |
| module_main | vor 8 Jahren | |
| module_news | vor 8 Jahren | |
| screenshots | vor 8 Jahren | |
| .gitignore | vor 8 Jahren | |
| LICENSE | vor 9 Jahren | |
| README.md | vor 8 Jahren | |
| build.gradle | vor 8 Jahren | |
| gradle.properties | vor 8 Jahren | |
| settings.gradle | vor 8 Jahren |
![]() |
![]() |
![]() |
Android项目组件化示例代码
Android组件化方案:http://blog.csdn.net/guiying712/article/details/55213884
Android组件化方案中的路由使用了ActivityRouter,但是因为ActivityRouter对于初学者不太友好, 总是出现莫名其妙的错误,因此现在的 AndroidModulePattern 已经改为使用 阿里ARouter作为路由。
1、首先打开Android项目的 gradle.properties 文件,然后将 isModule 改为你需要的开发模式, 然后点击 "Sync Project" 按钮同步项目;
Copyright 2017 guiying712, AndroidModulePattern Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.