Colton Idle
04/08/2022, 3:20 PMKeyboardType.Decimal
as an alternative to Keyboard.Number
for specifically including decimal separator in IME.
• Added lint check to material/Scaffold to ensure that the inner padding is being used (Ifb111)
• Bunch of font related things
• (I don't understand this too much, but seems important) New function Snapshot.withoutReadObservation { ... }
was added. It allows users to run the passed lambda without subscribing to the changes of the state values read during this block. You could find it useful in use cases when you want to benefit from the snapshot based thread safe write/reads, but want to be able to read the value without causing unnecessary recomposition or remeasure.
• AnimatedImageVector
now supports repeatCount
and repeatMode
• The consumeWindowInsets
extension property of ComposeView
allows developers to disable consumption of Android WindowInsets. This allows separate ComposeViews
in the hierarchy to each apply WindowInsets
without interfering with each other.
• Material3 updates, added switch api, support for dropdown menus with text fields, added an expanded parameter ro ExtendedFloatingActionButton