Android Foldable Screen Adapter

0•

Diagnoses and resolves Android foldable screen issues including Activity recreation, state loss, and layout breakage during fold/unfold events.

The Android Foldable Screen Adapter is a specialized Claude Code skill designed to help mobile developers handle the unique hardware challenges of foldable devices. It provides a structured diagnostic workflow to identify configuration change issues, implement state restoration patterns, and fix common bugs such as fragment reference invalidation or UI visibility loss. By automating the application of proven fix patterns (Manifest configuration, Bundle state saving, and FragmentManager optimization), this skill ensures your application maintains a seamless user experience during device folding and unfolding transitions.

주요 기능

01Pattern-based implementation for state saving and restoration
02Fixes for stale Fragment references in ViewPager2 and lists
030 GitHub stars
04Standardized resolution for UI visibility and data reset bugs
05Automated diagnosis of configChanges in AndroidManifest.xml
06Verification checklist for foldable adaptation completeness

사용 사례

01Ensuring Fragment state consistency in complex ViewPager2 layouts
02Fixing unresponsive UI elements caused by Activity recreation
03Preventing search results or content loss when folding/unfolding devices