grandstaish
11/09/2020, 6:22 PMscrollable modifier a parent composable, I never get the opportunity to consume scroll events before my children do. Basically i want to intercept the scroll gesturejim
11/09/2020, 6:23 PMAdam Powell
11/09/2020, 6:47 PMInitial, Main and Final. Initial and Main roughly map to the onInterceptTouchEvent/onTouchEvent down-from-parent and up-from-child stages you're familiar with from viewsAdam Powell
11/09/2020, 6:48 PMModifier.pointerInput {} - there's a DSL there that will let you install pointer event handlers and receive events at each of those pipeline stages, and at each phase you can consume motion from the event such that later processors (i.e. children in the Initial pass) will see it as consumedAdam Powell
11/09/2020, 6:48 PMPointerInputFilter API for this; same mechanism either waygrandstaish
11/09/2020, 7:18 PMScrollableController? it’d be nice to just say how many pixels i want to consume in the initial phase vs. the main phase without having to process all the complexities of a gesture myselflen
11/09/2020, 7:24 PMpointerInput {} modifier? I tried to use it the other day but using a while (true) sounded weird to me (maybe it's supposed to be used like that?)jaqxues
11/09/2020, 9:03 PMAdam Powell
11/09/2020, 9:16 PMScrollableController wouldAdam Powell
11/09/2020, 9:17 PMgrandstaish
11/09/2020, 9:45 PMgrandstaish
11/10/2020, 10:42 AMAdam Powell
11/10/2020, 2:42 PMgrandstaish
11/10/2020, 3:08 PMInitial phase.
• consume downwards scrolls in the Main phase until the header is expanded again.grandstaish
11/10/2020, 3:08 PMAdam Powell
11/10/2020, 3:28 PMmatvei
11/10/2020, 3:31 PMgrandstaish
11/10/2020, 3:32 PMAdam Powell
11/10/2020, 3:34 PMAdam Powell
11/10/2020, 3:35 PMgrandstaish
11/10/2020, 3:38 PMAdam Powell
11/10/2020, 3:41 PM