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 IMountDelegate

interface IMountDelegate
Extends com.amazon.apmf.IStandard An IViewManager object can optionally implement this IMountDelegate interface to perform mount/unmount instructions on a component view instance. In case this is not implemented then by default addChildAtIndex/removeChildAtIndex apis of VegaUIFramework will be called respectively on the component view instance.

Methods

mountChild()

void mountChild(com.amazon.kepler.uitoolkit.view.IView* parentView, com.amazon.kepler.uitoolkit.view.IView* childView, i32 index)
Lifecycle method is invoked when a new child view is mounted.

Parameters

parentView
com.amazon.kepler.uitoolkit.view.IView* — Required View instance on which new view instance will be mounted.
childView
com.amazon.kepler.uitoolkit.view.IView* — Required View instance which will be mounted.
index
i32 — Required Index at which the new child view instance will be mounted.

unmountChild()

void unmountChild(com.amazon.kepler.uitoolkit.view.IView* parentView, com.amazon.kepler.uitoolkit.view.IView* childView, i32 index)
Lifecycle method is invoked when a child view is unmounted.

Parameters

parentView
com.amazon.kepler.uitoolkit.view.IView* — Required View instance whose child view instance will be unmounted.
childView
com.amazon.kepler.uitoolkit.view.IView* — Required View instance which will be unmounted.
index
i32 — Required Index from which the child view instance will be removed.
Last modified on October 29, 2026