Assigned
Status Update
Comments
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks! This looks like a bug, thank you for reporting!
ma...@google.com <ma...@google.com> #3
I would also recommend setting the value to 10%. When you do that, the behavior is wild.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Description
If the result of the factory function will compare equals with the result of a second invocation with the exact same parameters, then the function can be marked as @Stable. All of our modifier factories should meet this requirement (however there are some that don't still).
Marking them this way can reduce composition overhead in many common cases and is an easy win.
More context on this issue can be found in aosp/2729638