expandable-text
expandable-text copied to clipboard
Light-weighted, convenient implementation of expandable text view that supports expanding & collapsing animations for Android projects.
# Add collapse option ## ✍️ Description This PR cherry-picks the commits made [here](https://github.com/giangpham96/expandable-text/pull/6) and extends the functionality of adding a collapse action to compose. ## 📷 Demo [ltr.webm](https://github.com/giangpham96/expandable-text/assets/18297207/357c5da5-6a5f-45b4-b705-7c9920ba4ae9) [rtl.webm](https://github.com/giangpham96/expandable-text/assets/18297207/0b38b973-8be2-478f-87c0-2d5bab2e1b58)...
Abstract level of originalText by using CharSequence to support setting Spannable to originalText. - No experience with Compose, so you could do the same for Compose
I added optional "less" action. I think we can add HTML text feature in the future.