Sliding Window

Overview

Sliding Window is a fullscreen window that slides in and out of the screen during pop and unpop events. Use it to create transition effects between screens.

Source Code

circle-info

Because it is a more complex example, we only show the specific Sliding Window example code, if you want to see the whole code of the image interface construction click herearrow-up-right.

Methods

Type

Name

Description

Constructor

SlidingWindow(Presenter<Container> provider)

Creates a SlidingWindow with the specified provider. Use the provider class to implement your view code.

Constructor

SlidingWindow(Presenter<Container> provider, boolean delayInitUI)

Creates a SlidingWindow with the specified provider and if it should delay the InitUI execution. Use the delayed InitUI if your screen takes a significant amount of time to load (e.g., it fetches data from a server) and the non-delayed InitUI if it is fast enough to be loaded prior to the animation. If the delayed option is used, the screen will popup with a spinner.

void

unpop( )

Unpops the SlidingWindow, hiding it.

void

popup( )

Popups the SlidingWindow, showing it.

Last updated

Was this helpful?