• Home
Name Date Size #Lines LOC

..--

entry/12-May-2024-1,1551,068

screenshots/device/12-May-2024-

.gitignoreD12-May-2024121 88

README.mdD12-May-2024627 1710

README_zh.mdD12-May-2024862 3016

build-profile.json5D12-May-20241 KiB4341

hvigorfile.jsD12-May-2024174 21

package.jsonD12-May-2024296 1615

README.md

1# Linear Container ArrayList
2
3### Introduction
4
5This sample uses the linear container **ArrayList** to simulate the operations of adding and deleting a contact. It shows the functionalities provided by the **ArrayList** APIs.
6
7### Usage
8
91. On the home screen of the sample app, touch **+** in the upper right corner.
102. In the dialog box displayed, enter the contact name and other information.
113. Click **OK** to save the information. The new contact information is displayed on the home screen.
124. Click **Delete** to delete the contact information.
13
14### Constraints
15
16This sample can only be run on standard-system devices.
17

README_zh.md

1# 线性容器ArrayList
2
3### 简介
4
5本示例通过线性容器 ArrayList 模拟了添加删除联系人的操作,展示了 ArrayList 相关的接口功能。效果图如下:
6![](screenshots/device/main.png) ![](screenshots/device/popup_window.png)
7
8### 相关概念
9
10线性容器ArrayList:ArrayList是一种线性数据结构,底层基于数组实现。
11
12### 相关权限
13
14不涉及。
15
16### 使用说明
17
181.点击屏幕右上方的 **+** 按钮,弹出添加联系人窗口。
19
202.在弹窗中填写姓名等相关信息。
21
223.点击弹窗的**确认**按钮后信息保存,并展示在主页面中。
23
244.点击**删除**按钮,删除对应联系人信息。
25
26### 约束与限制
27
281.本示例仅支持在标准系统上使用。
29
302.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。