# List Views

Appstent supports adding multiple content views that need to be lazy loaded in a list container.  Lists are currently supported only in vertical direction.  List View can be sectioned if it has the `sections` JSON array object containing the `views`, or without sections if the `views` JSON array is present directly at the level of List view JSON object.

Following examples show List View container with sections and without sections respectively:

#### Sample List without Sections

```json
{
    "type": "list",
    "views": [
        {
            "type": "text",
            "text": "Item 1"
        },
        {
            "type": "text",
            "text": "Item 2"
        }
    ]
}
```

#### Sample List with Sections

```json
{
    "type": "list",
    "sections": [
        {
            "title": "Group 1",
            "views": [
                {
                    "type": "text",
                    "text": "Item 1"
                },
                {
                    "type": "text",
                    "text": "Item 2"
                }
            ]
        },
        {
            "title": "Group 2",
            "views": [
                {
                    "type": "text",
                    "text": "Item 1"
                },
                {
                    "type": "text",
                    "text": "Item 2"
                }
            ]
        }
    ]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://appversation.gitbook.io/appstent/content-authoring/collection-views/list-views.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
