Where should I add (swipe) listeners for nested items?


If I put a (swipe) listener on a layout tag, it doesn’t seem like all the stuff nested inside will listen for the swipe. I want the user to be able to swipe left/right anywhere within this outer tag and be navigated appropriately. My question is do I need to be putting (swipe) listeners on every nested tag, or what’s the rule for this?

<FlexboxLayout flexDirection="column"

... lots of other nested Layouts, Buttons, ListViews, etc... that I also want to listen for (swipe)