# OHOS::AbstractAdapter - [Overview](#section1108330733165633) - [Summary](#section508897820165633) - [Public Member Functions](#pub-methods) ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Defines the base class for adapters. You can derive **[AbstractAdapter](OHOS-AbstractAdapter.md)** based on actual requirements and use the **[GetView\(\)](Graphic.md#gab155b2f4a6d8fd97755dcd1e6d3d8361)** and **[GetCount\(\)](Graphic.md#ga67021b360d4097c475d5e24519b5276d)** functions to implement adapters of different data types. For details, see [TextAdapter](OHOS-TextAdapter.md). **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
|
A constructor used to create an AbstractAdapter instance. |
|
|
A destructor used to delete the AbstractAdapter instance. |
|
GetCount ()=0 |
|
virtual UIView * Obtains a UIView instance to convert adapter data into another UIView instance. |
|
operator new (size_t size) |
|
operator delete (void *p) |