The Pagination container (added in B4J v5.0) is similar to TabPane and Accordion. It holds one or more pages. Each page is created from a layout file.
B4X:
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Main")
Pagination1.LoadLayout("Pane1")
Pagination1.LoadLayout("Pane2")
Pagination1.LoadLayout("Pane3")
MainForm.Show
End Sub