Modo docs Help

Features

The list of available features in Modo:

Feature

Status

Sources

Sample

Stack Navigation

✅

StackScreen, built-in commands

SampleStack, sample of navigation actions

Multi-Screen Navigation

✅

MultiScreen, built-in commands

SampleMultiscreen

Dialogs

✅

DialogScreen

Dialogs Playground

Arguments

✅

Arguments can be passed as a constructor parameter of Screen.

MainScreen

Animation

✅

ScreenTransition, helpers for stack screen transition

SampleStack

Android Lifecycle and ViewModel

✅

ModoScreenAndroidAdapter connects Modo with Android-related features.

MainScreen, AndroidViewModelSampleScreen.kt

Activity and Fragment Integration, Process Death Handling

✅

Modo

ModoSampleActivity, ModoFragment.kt, ModoLegacyIntegrationActivity.kt

Screen Effects

✅

You can use LaunchedScreenEffect and DisposableScreenEffect analogs for Screen. These are linked to the lifetime of a Screen. Additionally, LifecycleScreenEffect is available for easy lifecycle observation. See ScreenEffects for details.

ScreenEffectsSampleScreen.kt

Pager and LazyList Integration

✅

You can create custom ContainerScreen and use internal Screen inside Vertical/HorizontalPager and LazyRow/Column. It is vital to define key = {} lambda with InternalContent for correct integration. For more details, refer to the samples. LazyListUtils

StackInLazyColumnScreen.kt, HorizontalPagerScreen.kt, RemovableItemContainerScreen.kt

Last modified: 12 June 2024