sherif
(Sherif Hassan )
September 10, 2020, 6:53pm
#1
I need help
when i delete and recreate a dynamic card using dynamic component extension it takes along time
Can you show us your blocks ?it will make it easier for us to help you
sherif
(Sherif Hassan )
September 10, 2020, 6:57pm
#3
I will probably send you a pm so we don’t go #off-topic
sherif:
Of course that will take long time,especially because you have too blocks.You will need to use this method so you load data one by one
Hi gyz i present you my another powerful app for custom data loading on user scroll(concept of RecyclerView) from Airtable, Firebase and mysql under jugard series project 6
Note
i did not focus on code optimization so that everyone can understand it easily
I’ll keep on updating the guide for more convenience and try to make it easily understandable
methods and extensions used
I used
Mysql snippet and php file by @Taifun
Dynamic components extension by @yusufcihan
Vertical Scroll handler …
1 Like
sherif
(Sherif Hassan )
September 10, 2020, 7:11pm
#6
@Mohamed_Tamer
Data isn’t at any table it’s from rss feed
You still can use use this method at least to only create items and not load from a database.This will reduce the time you take very much
Hello Everyone
I made this simple guide to show you how you can load more items as user scrolls.So let’s get started.
I am using
Dynamic Components Extension from @yusufcihan and
Scroll Handler Extension from Colin Tree
[blocks(1)]
In these blocks there is a variable called number. We will store a number in that variable that will be updated after creating items.
There is another variable called items. That variable will represent how much data do you want to show at a time. In my case I…
1 Like
sherif
(Sherif Hassan )
September 10, 2020, 7:16pm
#8
Of course I use the starch method one by one
So when you refersh just create your first items you have ( for example 3 items only ) and don’t create them all.And the rest will be created when the user scrolls to the bottom.
sherif
(Sherif Hassan )
September 10, 2020, 8:06pm
#10
@Mohamed_Tamer
I already do this
So delete the item while creating and don’t delete them all anad then start creating.I mean delete id and then create it again.
1 Like
yusufcihan
(Yusuf Cihan)
September 10, 2020, 8:17pm
#12
The extension can create more than 1000 components about in 7 seconds. See here for an amateur benchmark.
So if you are spending these 7 seconds with connecting to the web, then you will able to create less components in this period.
1 Like
sherif
(Sherif Hassan )
September 11, 2020, 3:28pm
#14
Thank you, my friend, it works
1 Like
sherif
(Sherif Hassan )
September 11, 2020, 3:36pm
#15
It’s a great extension
and very fast. We all appreciate your effort. Thank you
3 Likes