[FREE] Recycler View Pager - An Extension to create view pagers with recycler view

Recycler View Pager

This extension allows you to create view pager with recycler view in horizontal and vertical orientation. This extension is based on modified sources of Recycler VeiwPager library on Github. Since this extension uses recycler view as view pager so there is no issue in showing 1000s of pages without any issues.

All Blocks


Documentation

image

This event raises when user changes the page. Return the old position and new position of the page that is active.

image

This event raises when a page needed to be updated with the referenced position. As it is same as recycler view then I would like you to read about android recycler view before using this extension.

image

This event raises when onCreateViewHolder of the adapter raises. You have to create your whole design here and then have to add your created design into the parent of recycler view/

These event raises when components receive click on them. Make sure to add click listener to the component by using AddClickListener block.

image

Initialize or creates the viewpager in given container.

image

Add your view in to the parent of recycler view.

image

Add the click listener to the given component with id.

image

Add a page at given position.

image

Remove a page at given position.

image

Returns the id of the component that was given to the AddParent block from given position.

image

Smooth scroll the view pager to given position.

image

Returns the current page position of view pager.

image

Set the total property of the view pager. This should be specified after initializing the view pager. This block specifies the total amount of pages that you want to show.

image

Set the orientation of the view pager. Default is Vertical. This property must be set before the initialization of view pager..

image

If checked then user won’t be able to swipe multiple pages in one swipe. Use this property if you want to make video player thing.

How to Use

A quick usage of the extension

First of all, You would have to initialize the view pager in a container. Make sure to set the orientation property first then just set the total amount of pages that you want to show to the users.
After setting the total of view pager, CreateComponent and BindView event will be called to create components and then bind them.

Here I created a simple arrangement and label to show you. You can create any design with dynamic component extension with schema or blocks both.

In BindView event you can set the properties of your components.

You can use PageChanged event for setting other properties that you want.

Screenshots

IMG_7cx1jt

Demo APK

RecyclerPager.apk (5.2 MB)

You can try the APK before purchasing the extension.

Download

Credit

Thanks @Shreyash for the super power full Rush .

Like the extension if you like it :+1:

Suggestion and issue are welcome

Thanks you
Sumit​:wink:

12 Likes

Nice and useful extension

1 Like

Nice extension,but i think it is look like

I think..

1 Like

Your every extension is really so good and very needed

Since no one is interested in purchasing it so lets just keep it free.
It may help someone, the download links are added above.

Thanks

6 Likes

Hello, I would like to use your extension with a video player extension. Is this possible?

It’s always possible, definitely you should explain what exactly are you planning to do with it, creating pager of player’s?:blush::blush:

1 Like

I’m using the OvidCore plugin.
I set up the system as instructed in this plugin’s guide, but I can’t get OvidCore and Dynamic Component plugins to work together.

It’s not working. How do I get the ID of each horizontal line that is created?



From your code, did you any error?

It crashes and becomes unresponsive. The problem isn’t with the Recycler plugin, it’s with Ovidcore. I think I’m not defining the correct ID for Ovidcore.

Oooowoh :raising_hands:, anyways where did you get that extension, [OvidCore?

Edit: I found where you get it, I thought it was published here but its in app Inventor

1 Like

From owner

I can’t seem to get a scrolling video player view.

From your first block of RecyclerPager create component, have you tried testing it with one by 1 block testing? Before calling the player?

Yes, it works, but it doesn’t work when I connect the video player.

Am suggesting this part to be investigated

1 Like

Yes, I keep trying different things but it’s not working.

How about changing the ID parameter? Have you tried passing lastUsedID?


The player screen appeared, but only sound was coming through, no picture. Also, after a while, it stopped responding.

If you used the same URL list without RecyclerPager it’s playing normally?