GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devexpert-io/compose-recompositions: Some samples to explain how recompisitions work and how to optimize the implementation

This repository was archived by the owner on Nov 6, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
app
app
 
 
gradle
gradle
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Warning

Archivado · Archived. Este repositorio ya no se mantiene y puede no compilar con versiones actuales. This repository is no longer maintained and may not build with current versions. Lo que enseño ahora · What I teach now: devexpert.io

Compose Recomposition Demo

This project demonstrates various issues that can arise with recompositions in Jetpack Compose and how to solve them.

Requirements

  • Android Studio: Version 2024.1.1 Patch 2 (Koala) or later.
  • Android SDK: Compile SDK version 34.
  • Kotlin: Version 2.0.0.
  • Gradle: Version 8.5.2.

Setup

  1. Clone the repository:

  2. Open the project in Android Studio.

  3. Build the project:

    • Use the Build menu in Android Studio or run ./gradlew build from the command line.
  4. Run the app:

    • Use the Run button in Android Studio or run ./gradlew installDebug from the command line.

Examples

  1. Unstable Class: Demonstrates issues with recompositions when using an unstable class.
  2. Unstable External Class: Shows how external classes can cause recomposition problems.
  3. Lambdas: Explains how lambdas can affect recompositions.
  4. LazyList: Discusses recomposition issues with LazyList.
  5. Columns: Highlights problems with recompositions in columns.
  6. Continuously Changing State: Demonstrates issues with state that changes continuously.
  7. Modifiers: Shows how modifiers can impact recompositions.

About

Some samples to explain how recompisitions work and how to optimize the implementation

Resources

Readme
Activity
Custom properties

Stars

27 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.