Public Sub Initialize (Callback As Object, EventName As String)
Prepare the instance before its other methods.
Original catalog note: Initializes the onboarding controller with callback parameters
ELEVATEUI · B4A · XUI
Present a first-run walkthrough before the main application workflow.
Navigation & onboarding
Present a first-run walkthrough before the main application workflow.
Animated conceptual demonstration, not an exact Android control screenshot.
In a multi-screen application, connect every menu action to a real destination and preserve the active selection.
Before integrating, examine its methods, events and Designer options.
Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.
The public API, events and properties remain available. An isolated initialization is not presented as a full example; a tutorial will be added after a functional sequence is documented.
11 audited signatures
Public Sub Initialize (Callback As Object, EventName As String)
Prepare the instance before its other methods.
Original catalog note: Initializes the onboarding controller with callback parameters
Public Sub SetWaveColors(MyWaveColors() As Int)
Use SetWaveColors for its named operation; follow its exact signature.
Original catalog note: Allows user to set custom colors for each page in STYLE_WAVE_FIT
Returns: Int)
Public Sub AddPage(ImageFolder As String, ImageName As String, Title As String, Description As String)
Use AddPage for its named operation; follow its exact signature.
Original catalog note: Add a new page to the onboarding flow
Public Sub SetColors(BgColor As Int, CardStart As Int, CardEnd As Int, ButtonStart As Int, ButtonEnd As Int)
Use SetColors for its named operation; follow its exact signature.
Original catalog note: Configure custom colors (kept for backwards compatibility)
Public Sub show(Parent As B4XView)
Use show for its named operation; follow its exact signature.
Original catalog note: Displays the onboarding screen
Public Sub NextPage
Use NextPage for its named operation; follow its exact signature.
Original catalog note: Handles slide transitions with smooth hardware-accelerated animations (forward)
Public Sub PreviousPage
Use PreviousPage for its named operation; follow its exact signature.
Original catalog note: Goes to the previous page with a smooth reverse slide animation
Public Sub SetPage(PageIndex As Int)
Use SetPage for its named operation; follow its exact signature.
Original catalog note: Jumps to a specific page index with appropriate forward/reverse slide animation
Public Sub GetCurrentIndex As Int
Use GetCurrentIndex for its named operation; follow its exact signature.
Original catalog note: Gets the current slide index
Returns: Int
Public Sub GetPageCount As Int
Use GetPageCount for its named operation; follow its exact signature.
Original catalog note: Gets the total number of slides
Returns: Int
Public Sub Close
Use Close for its named operation; follow its exact signature.
Original catalog note: Close and detach the onboarding view
No custom Designer properties were found in the audited API.
Initialize with Me and the event prefix Demo, then add the following handler to your B4A module. Names and arguments come from the library declaration.
Event declared by this module. Handle the indicated action in the callback.
B4A handler signature with Demo prefix
Private Sub Demo_Finished()
Log("Finished")
End Sub
Raised when a selection or value changes; use it to update dependent data.
B4A handler signature with Demo prefix
Private Sub Demo_PageChanged(PageIndex As Int)
Log("PageChanged")
End Sub
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_SkipClick()
Log("SkipClick")
End Sub
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_NextClick(PageIndex As Int)
Log("NextClick")
End Sub
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_PrevClick(PageIndex As Int)
Log("PrevClick")
End Sub
For code-created controls use Initialize(Me, "Demo") when that signature exists; for Designer controls set the event name there. Replace Demo with the actual prefix.
Public Const STYLE_3D_CARD As Int = 1 ' Vibrant centered gradient card on dark bg (Default)Public Const STYLE_FULL_IMAGE As Int = 2 ' Large illustration directly on backgroundPublic Const STYLE_GLASSMORPHISM As Int = 3 ' Vibrant background gradient with frosted glass cardPublic Const STYLE_SPLIT_PASTEL As Int = 4 ' Soft colored top half, bottom white card, bottom-right circular arrow buttonPublic Const STYLE_DECORATIVE_BLOB As Int = 5 ' Illustration inside soft circle/blob shape, centered solid button, bottom-right skipPublic Const STYLE_WAVE_FIT As Int = 6 ' Canvas-drawn wavy layered separator matching the original PhotoFIT designPublic Const STYLE_GRADIENT_BLOB As Int = 7 ' Full gradient bg, illustration on white wave landscape, bottom navigation rowPublic Const STYLE_EDITORIAL As Int = 8 ' Soft image card with left-aligned editorial copyPublic Const STYLE_SPOTLIGHT As Int = 9 ' Dark stage with a circular illustration spotlightPublic ActiveStyle As Int = 1Public TextNext As String = "Next"Public TextGetStarted As String = "Get Started"Public TextBack As String = "Back"Public TextSkip As String = "Skip"Public ColorButtonBg As Int = 0xFF8A2387Public ColorButtonText As Int = 0xFFFFFFFFPublic ColorTitle As Int = 0xFFFFFFFFPublic ColorDescription As Int = 0xFFD1D5DBPublic ColorActiveDot As Int = 0xFFFF00D9Public ColorInactiveDot As Int = 0x8094A3B8Public ColorSkipText As Int = 0xFF9CA3AFPublic ColorBackText As Int = 0xFF9CA3AFPublic ColorBlobBg As Int = 0xFFD2EBF7Public Const GlASSEFECT_LIGHT As String = "light"Public Const GlASSEFECT_DARK As String = "dark"Public Const GlASSEFECT_FROST As String = "frost"Public GlassEffect As String = "Light"