Show more button in List

Hello! I am in the process of improving the performance of an app that I have published to iOS and Android as a native app.

The app displays a list similar to a Twitter timeline, which is displayed as the user scrolls, but this is very slow and we are having trouble with it.

To improve this, we would like to define a maximum number of items to be displayed, and when the button to display more is pressed, the list will be loaded and displayed as is.
For example, when a user visits the timeline page, the first 100 items are displayed, and when the ā€œShow Moreā€ button is pressed, another 50 items are displayed.

Is this possible to implement?

You should use lazy load. Forget about buttons to load more records.

These Advanced Options settings in your list options will give you best performance.
It will ā€˜pageā€™ automatically for you.

Thank you for your reply.

Actually, I already have the same setup as your captcha.
I have it as a custom listing because of the way the database is made, but that may be the main reasonā€¦

image

OK I see.
These are toggles or conditions that rely on a relationship?
And are you in Asia? I guess the lazy load could possibly work slowly because of the time it takes for the device to request more data as the list scroll reaches the bottom.

Yes, the icon on the left is a toggle. The data displayed in the list is toggled by whether the logged-in user has liked the data.
(BTW, the Comment and Add icons are links.)

And as you said, I am in Japan, Asia!
No choice thereā€¦ Is there anything I can do to make it work?

I see how the toggle is a necessary feature for you.

Back to your original question then. This paging from a button was shown in a previous video tutorial. I canā€™t remember who produced it. @Victor perhaps. Previous to Adalo adding lazy load as a feature.

I have a similar list with toggle, based on a Xano table, itā€™s v quick (EU server). Have you tried Xano? Adalo has clear documentation for paging Xano tables. You could choose an Asia server for your data, though I think it might be relayed via Adalo servers. Worth trying or asking the community. Unfortunately that would be a lot of work to rebuild.

Thank you very much. I feel like I have a better understanding.
I use Abracadalo for notifications and currently do not use Xano. I see that you have that option.

I would like to consider it along with the benefits as it seems to cost more than expected.

Thank you again!

With a trial account you can try it, then if you like it, the offer below makes it very attractive

Good luck and let us know what improvements you are able to achieve.

1 Like