awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
android avatar

android/compose-samples

0
View on GitHub↗
22,893 星标·5,382 分支·Kotlin·apache-2.0·7 次浏览developer.android.com/jetpack/compose↗

Compose Samples

Compose Samples is a collection of reference implementations for the Jetpack Compose UI library, serving as a practical guide for building native Android user interfaces. It demonstrates the use of a declarative framework where Kotlin functions describe layout structures and data dependencies, enabling developers to construct modern, reactive interfaces.

The repository highlights architectural patterns that prioritize maintainability and testability, such as layered organization and unidirectional data flow. It showcases how to implement adaptive layouts that automatically adjust to various screen sizes, orientations, and foldable form factors, alongside the integration of standardized design systems and theming tools.

These samples cover a broad range of development capabilities, including lifecycle-aware component management, dependency injection, and navigation handling. The collection also illustrates how to manage complex window insets, integrate modern declarative components into legacy view hierarchies, and implement state management patterns that remain consistent across configuration changes.

Features

  • Declarative UI Libraries - Provides a declarative UI library for building native Android interfaces using Kotlin functions.
  • Android Development - Serves as a comprehensive toolkit for Android application development, including dependency injection and lifecycle management.
  • Application Architecture Patterns - Provides architectural patterns that isolate business logic from presentation for maintainability.
  • Declarative UI Frameworks - Provides a declarative framework for building native user interfaces using functional component composition.
  • Reactive State Management - Implements reactive data patterns to synchronize user interface components with underlying data sources across configuration changes.
  • Responsive Layouts - Implements responsive interfaces that automatically adjust to various screen sizes and foldable form factors.
  • Material Design Libraries - Implements standardized Material Design components and theming to ensure a consistent visual identity.
  • Android Activity Lifecycle Management - Manages component behavior based on activity and fragment lifecycle states to prevent memory leaks.
  • Unidirectional Data Flow Architectures - Implements unidirectional data flow to maintain predictable synchronization between state and UI.
  • Layered Architectures - Organizes code into distinct interface, data, and domain layers to isolate business logic.
  • Display Feature Detectors - Queries information about screen cutouts and display shapes to adapt layouts for irregular device screens.
  • Navigation Controllers - Manages application flow and transitions between views while maintaining state across the user journey.
  • Responsive Design Patterns - Demonstrates responsive design patterns that adapt interfaces to various screen sizes and foldable form factors.
  • Responsive Layout Adapters - Provides responsive layout components that automatically adjust to varying screen sizes and device form factors.
  • Design System Implementations - Applies consistent visual styling and typography through centralized design system implementations.
  • Official Projects - Official collection of sample applications demonstrating best practices.
  • Reference Projects - Official repository containing Google-authored sample applications.
  • Communication Tools - Chat application sample built with Jetpack Compose.
  • Media and Entertainment - Podcast app sample demonstrating dynamic theming and architecture.
  • News and Information - Sample news reading application for Jetpack Compose.
  • Sample And Concept Apps - Sample survey application showcasing state and input handling.
  • Sample Applications - Sample survey application for Jetpack Compose.
  • Dependency Injection - Automates dependency provision to simplify testing and component lifecycle management.
  • Dependency Injection Containers - Implements dependency injection to decouple components and simplify object lifecycle management.
  • Application Layer Architectures - Structures application code into interface, data, and domain layers for improved maintainability.
  • Inset Dispatchers - Signals that window insets have been fully handled at a specific view level to stop further propagation and improve layout performance.
  • Hybrid View Bridges - Integrates modern declarative components into legacy view hierarchies for incremental migration.
  • Inset Adjusters - Modifies inset data to apply specific padding or margin requirements to child views within the layout hierarchy.
  • Inset Calculators - Measures the dimensions of system UI elements or screen areas that overlap with the application window to ensure content remains visible.
  • Declarative UI Composition - Uses functional composition to define interface structures and data dependencies for predictable updates.
  • Declarative View Embeds - Enables incremental migration by embedding declarative components within legacy view systems.
  • Data Persistence and Storage - Provides local database systems for persistent storage and offline capabilities.
  • State Ownership Models - Ensures consistent state management by designating a single source of truth for data.
  • Background Task Schedulers - Supports background task scheduling for deferrable operations without blocking the main thread.
  • Hardware Emulators - Tests applications on virtual device instances to ensure responsive layouts adapt to different configurations.
  • Presentation Transitions - Supports fluid motion and state-based transitions between interface elements to improve responsiveness.
  • Visibility Utilities - Checks whether system UI elements are visible and retrieves their potential inset values regardless of their current state.
  • Obscured Region Identifiers - Locates specific rectangular areas of the window covered by system UI components to prevent overlapping critical content.
  • Performance Benchmarking - Provides tools for benchmarking application execution to identify performance bottlenecks.
  • Build Configuration Management - Manages build configurations to generate multiple application versions from a single project.
  • Biometric Authentication - Integrates device-level biometric sensors to verify user identity and protect sensitive data.
  • Custom Layouts - Provides base structures for constructing bespoke interface arrangements and complex grid layouts.
  • UI Inspection Tools - Provides tools for inspecting UI hierarchies and visualizing interface changes in real-time.

Star 历史

android/compose-samples 的 Star 历史图表android/compose-samples 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Compose Samples 的开源替代方案

相似的开源项目,按与 Compose Samples 的功能重合度排序。
  • android/sunflowerandroid 的头像

    android/sunflower

    17,774在 GitHub 上查看↗

    Sunflower is a reference implementation designed to demonstrate modern Android development patterns and industry-standard architectural practices. It serves as a comprehensive guide for building functional mobile applications by integrating declarative user interface toolkits with robust data management and navigation systems. The project distinguishes itself by showcasing the transition from legacy view-based systems to modern declarative frameworks. It provides a practical example of how to organize code into distinct layers, manage complex state, and implement dependency injection to ensur

    Kotlin
    在 GitHub 上查看↗17,774
  • android/nowinandroidandroid 的头像

    android/nowinandroid

    21,358在 GitHub 上查看↗

    Now in Android is a reference application and framework designed to demonstrate modern development patterns for the Android platform. It provides a comprehensive implementation of a modular architecture, utilizing industry-standard practices to organize codebases into independent components that support long-term maintainability and build performance. The project centers on a reactive, unidirectional data flow model that synchronizes visual components with underlying data states. By employing a declarative toolkit for interface construction, the application ensures that screen layouts update

    Kotlinandroidjetpack-composekotlin
    在 GitHub 上查看↗21,358
  • jonataslaw/getjonataslaw 的头像

    jonataslaw/get

    11,181在 GitHub 上查看↗

    Get is a framework for Flutter that provides a comprehensive toolkit for dependency injection, internationalization, route management, and reactive state management. It includes a UI utility kit for handling themes, adaptive layouts, and the display of overlays such as snackbars and dialogs. The framework is distinguished by its ability to perform navigation and overlay management without requiring a build context. It also features a dependency injection container that manages the memory lifecycle of controllers and services, and a localization system that maps keys to strings to update appli

    Dart
    在 GitHub 上查看↗11,181
  • skydoves/pokedexskydoves 的头像

    skydoves/Pokedex

    8,334在 GitHub 上查看↗

    Pokedex is a reference implementation of an Android application that utilizes the MVVM architecture, Jetpack Compose for its declarative user interface, and Hilt for dependency injection. It serves as a sample project demonstrating a mobile application built with Android Jetpack and a Kotlin Coroutines network client to manage asynchronous data requests. The project implements a modular codebase to optimize build performance and enforce internal boundaries. It features a local persistence layer using the Room library to cache remote data on the device and utilizes Material Motion for fluid in

    Kotlinandroidcoroutineshilt
    在 GitHub 上查看↗8,334
查看 Compose Samples 的所有 30 个替代方案→

常见问题解答

android/compose-samples 是做什么的?

Compose Samples is a collection of reference implementations for the Jetpack Compose UI library, serving as a practical guide for building native Android user interfaces. It demonstrates the use of a declarative framework where Kotlin functions describe layout structures and data dependencies, enabling developers to construct modern, reactive interfaces.

android/compose-samples 的主要功能有哪些?

android/compose-samples 的主要功能包括:Declarative UI Libraries, Android Development, Application Architecture Patterns, Declarative UI Frameworks, Reactive State Management, Responsive Layouts, Material Design Libraries, Android Activity Lifecycle Management。

android/compose-samples 有哪些开源替代品?

android/compose-samples 的开源替代品包括: android/sunflower — Sunflower is a reference implementation designed to demonstrate modern Android development patterns and… android/nowinandroid — Now in Android is a reference application and framework designed to demonstrate modern development patterns for the… jonataslaw/get — Get is a framework for Flutter that provides a comprehensive toolkit for dependency injection, internationalization,… skydoves/pokedex — Pokedex is a reference implementation of an Android application that utilizes the MVVM architecture, Jetpack Compose… gurupreet/composecookbook — ComposeCookBook is a Jetpack Compose UI component library and layout reference. It serves as a collection of… androidx/androidx — AndroidX is the official collection of Android Jetpack libraries for building Android applications. It provides a…