File tree Expand file tree Collapse file tree 6 files changed +10
-8
lines changed
module_girls/src/main/res/layout
module_news/src/main/res/layout Expand file tree Collapse file tree 6 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ Android项目组件化示例代码
1515
1616** Android组件化方案** :http://blog.csdn.net/guiying712/article/details/55213884
1717
18- 现在的 AndroidModulePattern 使用 阿里ARouter作为路由,并且已经支持** Fragment组件化** ,使用方法请下载Demo查看。
18+ 1、现在的 AndroidModulePattern 使用 阿里ARouter作为路由;
19+ 2、Android组件化方案已经支持 ** Fragment组件化** ,使用方法请下载Demo查看;
20+ 3、目前Android组件化方案还没有写完,后续会** 继续更新** ,完善组件化方案。
1921
2022## 集成开发模式和组件开发模式转换
2123
Original file line number Diff line number Diff line change 77 android : layout_width =" match_parent"
88 android : layout_height =" match_parent"
99 android : gravity =" center"
10- android : text =" 这里是女孩 " />
10+ android : text =" 我是来自Girls组件的Fragment " />
1111
1212</FrameLayout >
Original file line number Diff line number Diff line change 1212 </activity >
1313 <activity
1414 android : name =" .BottomNavigationActivity"
15- android : label =" @string/title_activity_bottom_navigation " >
15+ android : label =" @string/title_activity_fragment_module " >
1616
1717 </activity >
1818 </application >
Original file line number Diff line number Diff line change 22 <string name =" app_main" >main组件</string >
33
44 <string name =" app_exit_hint" >再按一次退出程序</string >
5- <string name =" title_activity_bottom_navigation " >BottomNavigationActivity </string >
6- <string name =" title_home" >Home </string >
7- <string name =" title_dashboard" >Dashboard </string >
8- <string name =" title_notifications" >Notifications </string >
5+ <string name =" title_activity_fragment_module " >Fragment组件化 </string >
6+ <string name =" title_home" >news </string >
7+ <string name =" title_dashboard" >girls </string >
8+ <string name =" title_notifications" >预留 </string >
99
1010</resources >
Original file line number Diff line number Diff line change 99 android : layout_width =" match_parent"
1010 android : layout_height =" match_parent"
1111 android : gravity =" center"
12- android : text =" 这里是新闻 " />
12+ android : text =" 我是来自news组件的Fragment " />
1313
1414</FrameLayout >
You can’t perform that action at this time.
0 commit comments