Indeterminate Slider being dismissed

158 views Asked by At

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?

1

There are 1 answers

1
Alain On BEST ANSWER

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);