当前位置:网站首页>HarmonyOS Notes ------------- (3)
HarmonyOS Notes ------------- (3)
2022-07-30 20:06:00 【bald head】
1. Lifecycle
The calling sequence of the life cycle interface of page A
- Open page A: onInit() -> onReady() -> onShow()
- Open page B on page A: onHide()
- Return to page A from page B: onShow()
- Exit page A: onBackPress() -> onHide() -> onDestroy()
- The page is hidden to run in the background: onInactive() -> onHide()
- The page is restored from the background to the foreground: onShow() -> onActive()
2. Case
cookbook related code
Delicious food
.cb-container {flex-direction: column ;}.cb-body {flex: 1;}.cb-body-item{flex-direction: column;}.cb-title {width: 100%;height: 44px;justify-content: center;align-items: center;background-color: #ee742f;}text{font-size: 16px;font-weight: normal;color:#fff;}
// @ts-nocheckimport list from '../../../common/data/cook-list.json';export default {data: {list: []} ,onInit() {this.list=list.data}}
边栏推荐
- MySQL大总结
- 【PM专用】快速统计团队还有谁没有登记上报信息,快速筛选出属于自己项目组的成员,未完成XXX工作事项的名单
- 基于人脸的常见表情识别(2)——数据获取与整理
- Linux下最新版MySQL 8.0的下载与安装(详细步骤)
- TensorFlow2: Overview
- Common Expression Recognition Based on Face (1) - Basic Knowledge of Deep Learning
- MySQL数据库主从配置
- 树形结构:二叉树的递归非递归遍历、BST
- To the operation of the int variable assignment is atom?
- 明解C语言第五章习题
猜你喜欢
MySQL数据库之JDBC编程
Face-based Common Expression Recognition (2) - Data Acquisition and Arrangement
推荐系统:实时性【特征实时性:客户端实时特征(秒级,实时)、流处理平台(分钟级,近实时)、分布式批处理平台(小时/天级,非实时)】【模型实时性:在线学习、增量更新、全量更新】
Interviewer Ali: Describe to me the phenomenon of cache breakdown, and talk about your solution?
Zabbix部署与练习
M3SDA: Moment matching for multi-source domain adaptation
MySQL mass production of data
PostgreSQL 14.4如何安装使用
Typora设置标题自动标号
Multi-threaded mutex application RAII mechanism
随机推荐
M3SDA:用于多源域自适应的矩匹配
Maxwell 一款简单易上手的实时抓取Mysql数据的软件
MySQL大批量造数据
These services can't ali interview?Then don't go to, the basic notification, etc
linux下mysql8安装
Cesium loads offline maps and offline terrain
Centos7 install mysql8
Day31 LeetCode
MySQL八股文背诵版
coming!Dongfang Selection brings goods to the live broadcast of Longjiang agricultural products
“数字化重构系统,搞定 CEO 是第一步”
MySQL分库分表
ECCV2022 | 对比视觉Transformer的在线持续学习
MySQL数据库主从配置
Recommender systems: overview of the characteristics of architecture: user/item engineering -- -- -- -- -- -- -- -- > recall layer > sort layer - > test/evaluation 】 【 cold start problems, real-time 】
Office365无法打开word文档怎么办?Office365无法打开word文档的解决方法
推荐系统:冷启动问题【用户冷启动、物品冷启动、系统冷启动】
Recommendation System - Sorting Layer: Sorting Layer Architecture [User and Item Feature Processing Steps]
ELK日志分析系统
Zabbix部署与练习