> For the complete documentation index, see [llms.txt](https://polyv.gitbook.io/document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polyv.gitbook.io/document/docs/live/android/71-he-xin-common-gai-shu.md).

# 7\_1-核心common-概述

保利威多场景的核心common模块，即`polyvLiveCommonModul`模块，是给多个场景共用的通用封装模块，上层例如云课堂场景`polyvLiveCloudClassScene`，直播带货场景`polyvLiveEcommerceScene`都依赖该模块进行开发。

其目录结构如下：

```
.
└── livecommon
	├── module
		├── config
		├── data
		├── modules
		├── utils
    ├── ui
    	├── widget
    	├── window
```

1. config

   定义了数据配置类
2. data

   定义了公用数据封装类
3. modules

   定义的是多个功能模块的UI无关的公用代码封装，使用mvp模式（除了互动应用之外）。
4. utils

   定义了工具类。包括图片加载，屏幕旋转等。
5. widget\&window

   定义了多场景通用的自定义UI。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://polyv.gitbook.io/document/docs/live/android/71-he-xin-common-gai-shu.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.
