Builder

class Builder(application: Application, savedStateHandle: SavedStateHandle)

Builder for creating a LinkController instance.

Retain the built LinkController in a ViewModel. Link state is not fully restored automatically, so call configure on every ViewModel initialization — including after process death — before calling Presenter.present.

Parameters

application

The application context.

savedStateHandle

The SavedStateHandle for persisting state across process death.

Constructors

Link copied to clipboard
constructor(application: Application, savedStateHandle: SavedStateHandle)

Functions

Link copied to clipboard

Build the LinkController instance.