What is the recommended way to focus on surface it...
# compose-android
p
What is the recommended way to focus on surface items in response to D-pad key events? These items are part of a custom 2D lazy layout and each has different widths. Currently, the default focus behavior is about as accurate as a Stormtrooper's aim, it's all over the place, except where it should be.. As a quick test, I have disabled the focus on these components and am managing focus through a key event handler. Now, I can finally "focus" on the correct items, but it feels hacky and noticeably slower than the default focus behavior. How can I properly set the focus behavior for my lazy layout?