Hello there,
I need to use a horizontal arrangement but I don't want to show all the arrangement in one screen.
I mean I want to show a slide per once on the screen and when the user swipe to right or left they will see the next slide and so on.
And another question, sorry for bothering you, how can I make the screen moves to the next slide automatically after a number of presses on the screen.
I hope I managed to explain well.
Thanks in advance
Ramon
March 3, 2024, 7:44am
2
Maybe you can find useful things by searching the community, such as this:
Extension to create/remove visible components dynamicly.
BLOCKS
Create:
[2022-01-20_192218]
Create a visible component in a container.
component: String or Component. component Class Name.
in: Component. where the new component to be created inside.
Remove
[2022-01-20_123711]
Remove the component from screen. if it's a container component, all his children will be removed.
Children
[2022-01-21_195051]
Return a list of component container's children.
This can be used for native component…
Hopefully have it figured out for you. I have made use of the scrollto block and the page changed block to handle content changes. In essence if you swipe right, your are scrolled back to the middle page and the content is set to the next page in the book, if you swipe left the same happens in reverse.
[EDIT - UPDATE: now shows next and previous pages during swipe]
swipeSlidesBookv2.aia (18.4 KB)
Blocks <a class="lightbox" href="https://community.appinventor.mit.edu/uploads/d…
1 Like
this extesion can help you
Added to the first post
ViewPager is like a Scroll View (either horizontal or vertical) which hosts only one child view at a time.
This one can be termed as a Horizontal View Pager:
1 Like