Skip to content
AtomicReps

Navigation

04/23Mobile

Android UI (Compose & Views).

The Android view layer: Jetpack Compose, activities/fragments, ViewModel and navigation.

  • Android UI (Compose & Views) · 1 of 3

    ViewModel & LiveData

    In current Android architecture guidance, which observable type does the team recommend for new ViewModel-exposed UI state instead of LiveData?

  • Android UI (Compose & Views) · 2 of 3

    Activities & Fragments

    How do Fragments communicate with each other in modern Android?

  • Android UI (Compose & Views) · 3 of 3

    Navigation Component

    What is the printed lifecycle state of the previous back-stack entry once the new destination has finished its transition?

    kotlin
    val prev = nav.currentBackStackEntrynav.navigate("detail")// after transition settles:val state = prev?.lifecycle?.currentStateprintln(state)

Three of the 460 Android UI (Compose & Views) questions in the bank.

Keep going with Android UI (Compose & Views), free
Next topic · 05/23Apple Platforms (watchOS, iPadOS, visionOS).