Skip to main content

didShowPanel

Introduction

The didShowPanel() method notifies the SDK that the MaestroPanel has been displayed in your app. This allows the SDK to update its internal state and perform any actions needed based on the panel’s visibility.

Calling didShowPanel() immediately after displaying the MaestroPanel is crucial for maintaining the correct focus state. When didShowPanel() is called, it gives focus to the tab bar button for the currently-selected tab.

Code Example

// Notify the SDK that the MaestroPanel is now visible.
eventInterface.didShowPanel()