Introducing Assynochronuis process with dynamic Componemts for Huge Amount of Data Doesn’t matter How much data 5000 or 10000…
No more Stuck…
No more Lag…
You can create your procedure of heavy amount of Data with assynochronious ability by this method… (fully simple method)…
Extension used… Dynamic Components by yusufcihan
Method…
First i took tow variables…
(From) (to)
On first time it will load only 1 to 10 main cards as shown in pic… U can change this as your desire…
Then i took a clock timer…
In clock timer it will load only 10 cards on first turn…
After that i increased the values of
From variable
To variable
As my choice…
You can change it… So Finally Assynic method is ready to load Heavy data…
Demo apk
Assync procedure.apk (5.5 MB)
Demo aia
Assync_Procedure.aia (90.6 KB)
Demo video…
18 Likes
Thanks for Suggestion…
BTW
I know already because keyboard suggestion me whenever i typing…
1 Like
iamwsumit
(Sumit Kumar)
October 21, 2020, 1:36am
#5
Its yusufcihan not Yusafcihan
2 Likes
This is not async procedure. You are only loading first few items then remaining few.
Async procedure run in the background without disrupting the main UI thread.
This Load More data logic is already developed in the community. Check below topics.
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 …
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…
8 Likes
You are talking about on user scrool… I mean condition when user scrolll down …
And you forgot my post
u can see main thread is Running behind as 1st process and notifier running smoothliy as second process…
So this is not asynchronous
Anyways, still a good work
3 Likes
Its asynchronous…
I told him that
You are talking about on scroll down action…
You can check demo video…
1 Like
Rogerio_Rios
(Professional Support)
October 21, 2020, 10:00am
#11
This is no asynchronous . Here or any place in universe.
Please, Do not use the word asynchronous in this case.
2 Likes
Professional:
You can check demo video
Do you know what is asynchronous?
Asynchrony, in computer programming, refers to the occurrence of events independent of the main program flow and ways to deal with such events. These may be "outside" events such as the arrival of signals, or actions instigated by a program that take place concurrently with program execution, without the program blocking to wait for results. Asynchronous input/output is an example of the latter cause of asynchrony, and lets programs issue commands to storage or network devices that service the A ...
Using a clock timer only load things periodically. And not hangs the program for too long (still lag).
3 Likes
This is not asynchronous.
You are loading synchronously with intervals.
Even if we create asynchronously, it will fill the ram at some point, so Recycler View is the solution.
4 Likes
Appreciate your hard work
You did a good job.
You are getting negative replies because you named it asynchronous, instead, say trick or logic to load dynamic components.
1 Like
themaayur
(Mayur Berad)
October 21, 2020, 11:30am
#17
Its not to criticize or demotivate anyone, but many users don’t know the exact meaning of asynchronous and therefore the get confused.
Loading items on users response somehow works like it, but technically it won’t.
This can be a trick/logic t reduce the lag
3 Likes
Rogerio_Rios
(Professional Support)
October 21, 2020, 1:08pm
#19
Off-topic
And what is relevant about this?
@WatermelonIce
@Rogerio_Rios
@The_K_Studio
@Ottoman
@sonumohammad333 Assynochronious is opposite of synchronous…
Synchronous mean occuring at same time we can’t do anything, stucked, present screen blocked for a while, we need to wait until process not completed…
Assynochronious mean not occuring at same time…
We can do anything whenever process is running behind… No need to wait, our screen not blocked for a while…
Here we can do anything when our process running… We can terminate process,we can pause the process, we can resume the process, we can scroll down, we can scroll up…
Yes, but it did when you run the loop in the clock. It is still count as synchrous. Anyways, let’s stop talking this
2 Likes