Hello! I'm looking to use appyx Spotlight as a "cl...
# appyx
k
Hello! I'm looking to use appyx Spotlight as a "classic" viewPager, like so (3 pages visible in the bottom bar): Inside my parent node's
override fun View(...)
, I have my bottom bar pager as a sibling to my
AppyxComponent()
holding the 3 nodes. On my buttons
onClick
, I use
spotlight.activate(index)
which works perfectly to load the corresponding node. What I have trouble with, is when I'm using a simple
SpotlightSlider.Gestures(...)
, the nodes are correctly changed, but I don't get how I can update my bottom bar index. I didn't find any examples in the 2.x branch. All I can see are buttons outside the spotlight for sending operations, but nothing about a "feedback". Any idea how I'm supposed to do that? In the presentation https://www.droidcon.com/2023/07/31/gesture-driven-multiplatform-transitions-with-appyx/ , I can see something like that at 25:05, but couldn't find this example anywhere in the repository… Thanks!
a
Hi Luc, it will be added soon here. In the meantime you can implement it locally. How to do it I described here
k
Perfect, exactly what I needed. Thanks a lot!