Hi all! I confess this is more a logical question than a coding issue. I’m stuck with a little problem and I’m hoping maybe you guys can point me in the right direction.
I’m developing a game based on an ordered list of items (if you’ve played the boardgame “Timeline”, it’s essentially the same idea). I have a table variable in memory than can grown as the player adds items to it. On the screen I have 5 image objects that display the items, and a left and right arrow to “page” the list backwards or forwards. When one of the arrows is tapped, I increase or decrease a variable that points to the “current center” of the list an re-draw the 5 images accordingly.
One of my testers that reviewed the app mentioned this situation: if you built a long list, and you’re near one end of the list and get an item that should be put near the other end, it’s tiresome to tap a lot of times until you get to the desired spot (“awful UX” were the cruel but honest words).
I’ve tried to fix this issue with two different approachs:
- Implement a Swipe movement that allows a quicker navigation of the list.
- Implement a " Tap and Hold" functionality, so the list keeps on paging forwards or backwards while you mantain your finger down the arrow.
Of course, I’m writing this because I’ve failed miserably with both
With the Swipe approach I couldn’t establish a smooth paging, and with the other approach I wasn’t even able to implement it (the paging action only ocurred once).
I could give you more details and post some code of what I’m trying, but before that I was interested in a more general advice. Which of the two do you think is more suitable for what I’m aiming to? Do you know by chance any sample that implements a similar situation?
Thanks in advance, as always!
Santiago