{"repo":"GetStream/butterfly","free":true,"listed":false,"github":"https://github.com/GetStream/butterfly","clone":"git clone https://github.com/GetStream/butterfly.git","description":"🦋 Butterfly helps you to build adaptive and responsive UIs for Android with Jetpack WindowManager.","language":"Kotlin","stars":212,"topics":["android","foldable","foldable-devices","jetpack","jetpack-compose","windowmanager","dual-screen"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"🦋 Butterfly helps you to build adaptive and responsive UIs for Android with Jetpack WindowManager. Also, it supports useful functions for Jetpack Compose and LiveData integration. Preview 🌗 See dark theme Dark Theme Demo Project The demo project was built with the Stream Chat SDK for Jetpack Compose. It would be helpful to understand the demo project if you check out the links below: - Compose Chat Messaging Tutorial - Introduction to dual-screen devices - Unbundling the WindowManager Contribution 💙 Butterfly is maintained by Stream . If you’re interested in adding powerful In-App Messaging to your app, check out the Stream Chat SDK for Android ! Also, anyone can contribute to improving code, docs, or something following our Contributing Guideline. Download Gradle Add the codes below to your root build.gradle file (not your module build.gradle file). Next, add the dependency below to your module 's build.gradle file. Note : Butterfly includes Jetpack WindowManager to compute window internally. So if you're using WindowManager in your project, please make sure your project uses the same version or exclude the dependency to adapt yours. SNAPSHOT See how to import the snapshot Including the SNAPSHOT Snapshots of the current development version of Butterfly are available, which track the latest versions. To import snapshot versions on your project, add the code snippet below on your gradle file. Next, add the below dependency to your module 's build.gradle file. Set up Foldabl","default_branch":null,"files":null,"tree":[],"storefront":"/r/GetStream","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GetStream/butterfly/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}