Colton Idle
09/23/2022, 3:01 AMStaggered Grid (I10b82)
• Introduce content padding to experimental Staggered Grid (I342ea)
• Added Modifier.withConsumedWindowInsets() to get consumed WindowInsets for use outside windowInsetsPadding.
• Added MutableWindowInsets to allow easily changing WindowInsets without recomposition.
• Fix fling animation cancellation issue (i wonder if this fixes flinging bottom sheet modals getting stuck when fully open)
• Add a Pull-To-Refresh component to Compose (I29168) OOOH What is this!? Another thing from accompanist that can die? (commit message: Migrates Accompanist's SwipeToRefresh to Compose with major changes.) so yes. it can die it seems.
• Behavior Breaking Changes (next two points)
• The parameter to remember and rememberCoroutineScope where changed to be crossinline. This will report an error for early returns instead of allowing an early return which will cause a later internal error to be reported.
• This change can potentially lead to new compiler errors to be reported requiring non-local returns to be removed from the lambdas passed to these functions. (Ibea62)
• AndroidX Activity's BackHandler API now works within a Dialog composable. (I35342) OH YEAH
M3:
• ExposedDropdownMenuDefaults now exposes a padding value for menu items. (I34ee1)
⚠️ Looks like coil and latest compose don't play well together. https://github.com/coil-kt/coil/issues/1473