abstract class Controller<in T : Contract<*>> : Parcelable
Controller(parcel: Parcel) Controller() |
fun back(step: Int = 1): Unit
Goes back one step in the controller. |
|
open fun describeContents(): Int |
|
abstract fun evaluate(contract: T): Unit
Perform the login sequence. Additional calls to this function will re-trigger the currently active task. |
|
fun start(contract: T): Unit |
|
open fun writeToParcel(parcel: Parcel, flags: Int): Unit |
class SignUpController : Controller<SignUpContract>
Controller which administrates the process of creating a user and signing in. This is parcelable and should be persisted during the sign up sequence. After the sequence has been completed, the reference to this can be destroyed. Note: After an Android configuration change, make sure you call evaluate again to re-trigger the currently active task. |
|
abstract class VerificationController<in T> : Controller<T> where T : Agreements.Provider, T : RequiredFields.Provider, T : Contract<*> |