习题内容
判断题
1.一个应用只能有一个uiability。 ( 错误 )
2.创建的empty ability模板工程,初始会生成一个uiability文件。( 正确 )
3.每调用一次router.pushurl()方法,页面路由栈数量均会加1。( 错误 )
单选题
1.api9及以上,router.pushurl()方法,默认的跳转页面使用的模式是哪一种?( a )
a. standard
b. single
c. specified
2.uiability启动模式需要在module.json5文件中配置哪个字段?( c )
a. module
b. skills
c. launchtype
d. abilities
多选题
1.api9及以上,router.pushurl()方法的mode参数可以配置为以下哪几种跳转页面使用的模式?( ab )
a. standard
b. single
c. specified
2.uiability的生命周期有哪几个状态?( acdf )
a. create
b. windowstagecreate
c. foreground
d. background
e. windowstagedestroy
f. destroy
3.uiability有哪几种的启动模式?( abc )
a. multiton
b. singleton
c. specified
发表评论