目录

How do I obtain data through network requests and display the data through the List component?

Use the HTTP component to send a network request to obtain data, and then traverse the data to in the List component.

For details, see @ohos.net.http (Data Request) and ForEach: Rendering Repeated Content.