BaseScreen

abstract class BaseScreen

Base class for creating screens in a Compose-based application.

This class provides a basic structure for screens, including lifecycle event handling. It uses ListenToComposableLifecycle to observe lifecycle events and calls corresponding methods like onResume, onPause, onStop, and onDestroy.

Subclasses must implement the OnScreenCreated method to define the UI content of the screen. They can also override the lifecycle methods to perform specific actions at different stages of the screen's lifecycle.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun CreateScreen(modifier: Modifier)

Creates the screen and listens to lifecycle events.