Package-level declarations

Types

Link copied to clipboard

A FooterSection with a button whose purpose is usually to navigate to the following step.

Link copied to clipboard
class Event<out T>(content: T)
Link copied to clipboard
class EventBus<T>

Class to wrap the Events needed for navigating between screens

Link copied to clipboard
data class Flow(val steps: List<Step>)

An A -> B flow that contains a list of Step in the order that the flow is intended to execute.

Link copied to clipboard

FlowCoordinator is responsible for coordinating the navigation_profile inside a Flow. It will step back and forth in Flow and dequeue the current Step. The current StepFragment is passed to the fragmentManager so the Step is in control of that fragment.

Link copied to clipboard

Class that contains all the creation/initialization methods for the FlowCoordinator

Link copied to clipboard
interface FlowListener

Informs its clients about progress of FlowCoordinator in Flow

Link copied to clipboard
sealed class FlowLocation

The location of a Step in a Flow.

Link copied to clipboard

Class used to identify the possible flows for Navigation Events

Link copied to clipboard

Class used to handle Navigation Events

Link copied to clipboard
open class SimpleStep(data: SimpleStepData) : Step
Link copied to clipboard
data class SimpleStepData(val toolbarData: ToolbarData? = null, val headerText: String = "", val footerText: String = "", val showHeader: Boolean = true, val footerButtonOnTap: () -> FlowLocation? = { FlowLocation.Next })

Class containing the data to be displayed on each Screen Step

Link copied to clipboard
abstract class Step(val toolbarData: ToolbarData? = null) : CoroutineScope

Base controller that controls the fragment of a Step. It is a controller in the context of the MVC architectural pattern. This controller is responsible for populating the fragment with the sections HeaderSection, ContentSection and FooterSection.

Link copied to clipboard

Displays the title headline, if any, of a Step.

Link copied to clipboard
data class ToolbarData(val title: String = "", val isUpButtonVisible: Boolean = false, var isTitleVisible: Boolean = true)

Class containing Toolbar data from the Step

Functions

Link copied to clipboard
fun <T> LiveData<Event<T>>.observeEventNotHandled(owner: LifecycleOwner, observer: (T) -> Unit)

Utility method to ease the process of unhandled Events