How to Load Huge Amount Of Data widout lag/hang/stuck

Good job :+1:t2:

P.S: it’s Async and not Assynic :wink:

3 Likes

Thanks for Suggestion…
BTW

I know already because keyboard suggestion me whenever i typing…

1 Like

Great work :+1:t2:

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.

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 :man_facepalming:
Anyways, still a good work :+1:

3 Likes

Its asynchronous…

I told him that
You are talking about on scroll down action…

You can check demo video…

1 Like

This is no asynchronous. Here or any place in universe.
Please, Do not use the word asynchronous in this case.

2 Likes

Do you know what is asynchronous?


Using a clock timer only load things periodically. And not hangs the program for too long (still lag).
3 Likes

No, its not asynchronous

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

Exactly !!!

2 Likes

Appreciate your hard work :clap:
You did a good job. :thumbsup:
You are getting negative replies because you named it asynchronous, instead, say trick or logic to load dynamic components.

1 Like

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 :upside_down_face:

3 Likes

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 :sweat_smile:

2 Likes

Every one has own definition for this word… So
Just focus on mean of word…
Not occuring on same time…
Every item is take 1 milli second to build(mean not occuring at same time) … But our process have 500 items…