Currently implementing the last example at
https://developers.google.com/glass/develop/gdk/slider
but with only one card (loading card)
problem is that if I scroll (swipe forward or backward) the slider gets dismissed
How do I keep the slider from getting dismissed?
The Slider is a global component that gets overwritten when another client requests it, in this case, the CardScrollView
.
One way to solve this would be for you to CardScrollView
's scroll bar in your onCreate()
method with:
mCardScrollView.setHorizontalScrollBarEnabled(false);