coil-compose

Community

Load images efficiently in Compose

AuthorAerisG222
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides expert guidance on efficiently loading and displaying images within Jetpack Compose applications, addressing common challenges like performance, state management, and visual presentation.

Core Features & Use Cases

  • AsyncImage Composable: The primary tool for seamless image loading from URLs, supporting placeholders, error states, and transformations.
  • rememberAsyncImagePainter: For scenarios requiring direct Painter access or manual state observation.
  • SubcomposeAsyncImage: Enables custom slot APIs for different loading states (loading, success, error).
  • Performance Optimization: Emphasizes singleton ImageLoader, main-thread safety, crossfade transitions, and appropriate sizing.
  • Use Case: Quickly implement an image gallery in your Compose app, ensuring smooth loading, placeholder display, and efficient memory usage.

Quick Start

Use the coil-compose skill to load an image from the URL 'https://example.com/image.jpg' into an AsyncImage composable with a crossfade effect.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: coil-compose
Download link: https://github.com/AerisG222/maw-photos-android/archive/main.zip#coil-compose

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.