Discover and read the best of Twitter Threads about #Compose

Most recents (3)

In my previous job, I had the chance to rebuild and relaunch an app 100% Compose + Kotlin Multiplatform.

Here are the top insights, for good or bad, from top of my head.

Follow the thread. 🧵

#AndroidDev #Compose #Kotlin
1. After years of XML, Compose is refreshing for the Android ecosystem. It allowed us to build beautiful UI and amazing animations. If you aren't sure about using Compose: yes, Compose is production ready.
2. Compose is not as mature as the View System. You will need to use experimental APIs, and a few times go out of your way to find a solution. That includes wrapping a View inside a Composable.
Read 18 tweets
X: I know what is `remember`, but what is `rememberSaveable`? How are they different? 🤷🏼

Y: Well, as you know, `remember` is to survive your value during recomposition...

#compose #thread_ahead 🧵 ⬇️
...`rememberSaveable` is to survive the value during both recomposition and activity recreation

X: Ahm...Okay, how do I use it? 🤔
Y: Let's look at the method's signature first.👀 Image
X: What is that `inputs`? and Why is it `vararg`?🤷🏼

Y: `inputs` are something that we give to `rememberSaveable` to tell something like, "Hey, if any of the inputs are changed during recomposition, ...
Read 8 tweets
🎵To understand range and tessitura, look at standard vocal repertoire by master composers, such as An Die Musik by Franz Schubert.

(THREAD)
👉Notice:

1. The vocal range is an octave plus a perfect forth, much more conservative than the entire possible range of a professional classical singer, which is 2-2 ½ octaves or more. Most art song fits within a vocal range of no more than an octave plus perfect fifth.
2. Schubert doesn’t use the most extreme high or extreme low notes of the singer. The notes fit into the medium low zone of a singer’s range.
Read 8 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!