android-media-and-image-expert
Installation
SKILL.md
Android Media & Image Excellence ๐๏ธ๐ผ๏ธ
Professional strategies for high-performance image loading, video streaming, and media management in modern Android applications.
โก When to Use
- Image Loading: Performance-first loading with Coil (Compose-native).
- Video Playback: Streaming using ExoPlayer or the new Media3 library.
- Media Management: Displaying local media (Photos/Videos) with proper metadata.
- Image Optimization: Sizing, Caching, and format support (WebP, AVIF).
- Audio Playback: Playing background music or voice notes.
๐ผ๏ธ Image Loading with Coil (The Android Standard)
- Rule: ALWAYS use Coil for Compose. It's lightweight, efficient, and uses Coroutines.
- Rule: NEVER load the full image if displayed in a small box. Use
size(Size.ORIGINAL)or explicitsize().