
回复
一、总体
1.技术相关
项目名称: Navigation
项目语言: JAVA
体验模板:Navigation
工具:deveco studio
2.内容相关
主要用于手势导航场景。
3.效果如下
二、体验开发步骤
1、建立项目
新建一个java的应用项目
然后构建完成项目后在jltf_template下new->module
2.选择的Navigation模板
3.登录华为开发者联盟账号,然后启动模拟器即可实现效果。
三、项目结构介绍
该模板使用轮播图说明功能作用,使用单选框选择具体设置内容,适用于功能介绍和设置等方面功能。
四、 关键代码(MainAbility)
public class MainAbilitySlice extends AbilitySlice {
private ViewCreateHelper viewCreateHelper;
@Override
public void onStart(Intent intent) {
viewCreateHelper = new ViewCreateHelper(this);
setUIContent(viewCreateHelper.createComponent());
}
@Override
public void onActive() {
super.onActive();
}
@Override
public void onForeground(Intent intent) {
super.onForeground(intent);
}
}
五、完整代码地址:
https://gitee.com/jltfcloudcn/jump_to/tree/master/Navigation