Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IViewController

interface IViewController
Extends com.amazon.apmf.IStandard Interface is responsible for managing a view hierarchy for your app. A developer needs to implements its own IViewController which will be responsible to return the root IView of the view hierarchy.

Methods

createUIView()

IView* createUIView()
Callback to create hierarchy of views and return root view to be rendered. This callback is invoked internally whenever the UI elements are attached to Window or Screen.

Returns

IView* A pointer to IView representing the root of IView hierarchy.
Last modified on October 29, 2026