Heikki Rauhala
08/25/2021, 11:36 AMHeikki Rauhala
08/25/2021, 11:37 AMHeikki Rauhala
08/25/2021, 11:40 AMAlexandre Elias [G]
08/26/2021, 11:36 PMAlexandre Elias [G]
08/26/2021, 11:37 PMAlexandre Elias [G]
08/26/2021, 11:38 PMHeikki Rauhala
08/27/2021, 9:43 AMHeikki Rauhala
08/27/2021, 10:56 AMpointerInteropFilter
was the way to intercept the touch events from the outside of the composition https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/package-summary#(androidx.compose.ui.Mod[โฆ]hEvent,kotlin.Function1)Heikki Rauhala
09/01/2021, 2:28 PM1.1.0-alpha02
? I tried d-pad focus with LazyColumn and custom scrolling with RelocationRequester, but it's still too easy to crash the app as the focus ends up in a composable that is not yet active.Alexandre Elias [G]
09/03/2021, 10:07 PMNathan Castlehow
10/28/2021, 5:45 AMHeikki Rauhala
10/28/2021, 5:53 AMNathan Castlehow
10/28/2021, 7:22 AMWalter Berggren
10/28/2021, 7:28 AMHeikki Rauhala
11/01/2021, 8:13 AM1.1.0-beta01
, but the d-pad navigation in a lazy column still crashes occasionally with java.lang.IllegalStateException: KeyEvent can't be processed because this key input node is not active.
when focus is moved. That's expectable as the issue https://issuetracker.google.com/issues/184670295 is not yet fixed in 1.1.0.Nathan Castlehow
11/01/2021, 8:47 AMHeikki Rauhala
11/01/2021, 8:47 AMHeikki Rauhala
11/01/2021, 8:48 AMNathan Castlehow
11/01/2021, 8:56 AMHeikki Rauhala
11/01/2021, 8:58 AM1.0.0-alpha11
Nathan Castlehow
11/01/2021, 9:03 AMHeikki Rauhala
11/01/2021, 12:09 PMNathan Castlehow
11/02/2021, 7:37 AMHeikki Rauhala
11/02/2021, 7:38 AMNathan Castlehow
11/02/2021, 7:43 AM.focusOrder(focusRequester, focusOrder)
I've started trying to wrap stuff up to make it reusable but damn it's a touch ugly at the moment (happy to share it if i manage to break it up a bit more).
Issue I'm having now is for up / down key presses how to get it to focus the item its currently up to in current / previous the list. My current thinking was to capture the up / down press and somehow get a reference to the correct focus requester. Have you had to do this?Nathan Castlehow
11/02/2021, 7:52 AMNathan Castlehow
11/02/2021, 7:54 AMNathan Castlehow
11/18/2021, 1:40 AMNathan Castlehow
11/18/2021, 1:40 AMHeikki Rauhala
11/18/2021, 3:02 PMclickables
to be focusable when the dpad is used, more discussion here: https://issuetracker.google.com/u/1/issues/202856230Nathan Castlehow
12/02/2021, 3:49 AMHeikki Rauhala
12/02/2021, 8:28 AMNathan Castlehow
12/03/2021, 1:14 AM