Is the 'page swiper' UI component supposed to work?

More
2 years 5 days ago #3037 by Nillaz

Nillaz, in your video, you had one screen where you were swiping left to pull in a screen "hidden" to the right (your lights, plugs, timers, etc. page), what control did you use there?
That's a point. Just here 
Code:
https://youtu.be/QyypAcq2LBg?t=567
it looks like you're using the page swipe.

Andrew
 
It's not. It's the scroller that I've cheated into acting like a page swipe by locking the axis, with notable limitations.

I would have set things up very differently in myDesigner if I could have used the swipe function. This was a case of me adapting to what I had to work with rather than what I would have chosen.

Please Log in to join the conversation.

More
2 years 5 days ago #3038 by randyf
Got it, that's what I thought you might have done based on your other note.  In any case, you made it look good!
The following user(s) said Thank You: Nillaz

Please Log in to join the conversation.

More
2 years 5 days ago #3039 by Nillaz

Got it, that's what I thought you might have done based on your other note.  In any case, you made it look good!
 
I appreciate that man it took a bit of trial and error to get the layout to a good place.

I'd still like to get some feedback from David/Dave on how the Page Swipe is supposed to work. It seems like it's functionality should be obvious but maybe there's something I'm missing.

Please Log in to join the conversation.

More
2 years 4 days ago - 2 years 4 days ago #3040 by randyf

I'd still like to get some feedback from David/Dave on how the Page Swipe is supposed to work. It seems like it's functionality should be obvious but maybe there's something I'm missing.

Just for fun, I created a new scene and put the page swiper control on the page.  I then configured it with 3 existing overlay pages and added a button on the main index page to load the scene.  I launched the emulator and the control seems to work as it should.  I can use the mouse to swipe left/right and I see the dots indicating how many pages there are.  Note that I did not configure these overlays in my test scene on the Overlays tab.  Here are a few screen shots.

    
 
 
 
 
Last edit: 2 years 4 days ago by randyf.
The following user(s) said Thank You: Nillaz

Please Log in to join the conversation.

More
2 years 4 days ago #3041 by andrew
Well that's very strange as I would have said I did exactly that except with my own new overlays.

Andrew

Please Log in to join the conversation.

More
2 years 4 days ago #3042 by Nillaz

I'd still like to get some feedback from David/Dave on how the Page Swipe is supposed to work. It seems like it's functionality should be obvious but maybe there's something I'm missing.

Just for fun, I created a new scene and put the page swiper control on the page.  I then configured it with 3 existing overlay pages and added a button on the main index page to load the scene.  I launched the emulator and the control seems to work as it should.  I can use the mouse to swipe left/right and I see the dots indicating how many pages there are.  Note that I did not configure these overlays in my test scene on the Overlays tab.  Here are a few screen shots.

    
 
 
 

 
This got me thinking so I tried a couple of things.

It works through the emulator popup in myDesigner. It also works directly in the Chrome browser. It does not work correctly for me in Firefox (which is my usual browser, and what I typically use for testing).

The remote itself gives me a blank screen when I load my testpage. This seemed odd so I exited out of the remote, force closed the apk and cleared the cache...and wouldn't you know it the swipe now works on the remote!

It snaps pages the way I hoped it would. It's also interesting that the pages can be scene pages and don't have to be an overlay. Unfortunately it does have a shortcoming in that it won't let you vertically scroll the active page, but even still I can make use of this. Thanks for lighting a fire under me to take another look at this!

Please Log in to join the conversation.

Time to create page: 0.210 seconds