Choice list API class structure

The class structure for the Choice list API consists of the class CAknChoiceList and observer interface McoeControlObserver. The class structure is depicted in the figure below.

Figure: Choice list API classes

The CAknChoiceList class provides an interface for controlling the choice list. You need to create separate instances of this class for each choice list.

When you use the choice list component in your application, you must implement the McoeControlObserver interface. This interface is used as a callback hook between the client application and the actual choice list. The client application receives a notification through this interface when the choice list is closed. This enables you to determine what to do with the changed selection from the choice list in your client application.