mihacker41:
wait 5 to 10 hr
Patience is a virtue !!!
Iâm shure at any moment someone will give you the correct answer
1 Like
themaayur
(Mayur Berad)
July 30, 2020, 5:50am
#977
He has got the correct answer, he just need to use that logic and apply in his app.
1 Like
I am unable to create components with Async Procedures extension
Async Proc
Async Proc is an Extension which you can use to run a Procedure asynchronously. You no longer have to wait for a loop to finish and donât worry about your app Crashing due to Android System thinking that your app crashed while doing intense processes.
BLOCKS:
EVENTS :
[Capture]
FUNCTIONS :
[Capture]
HOW TO USE?
Call a Procedure From Anywhere On You app using this block
[Capture]
Call a Procedure After a Certain Time Using this Block
[Capture]
Delay Should be in ms.
Call A ProâŠ
The procedure works fine
I am getting error with Create Block (donât know about other blocks)
Soham_Shah
(Soham Shah )
July 31, 2020, 4:20pm
#980
What name we need to give to set Html enabled in label?
HTMLFormat
Value : true/false
1 Like
Maybe search in this topic before asking?
set property name = HTMLFormat to true, then set text to join text <b> ; "YOUR TEXT" ; </b>
Try to call it directly instead of using the async extension. If this error still shows up, show your relevant blocks.
sonumohammad333:
The procedure works fine
I need it to load asynchronously, So app runs smoothly
@WatermelonIce
Try to create component with async extension
You may also get this error
yusufcihan
(Yusuf Cihan)
July 31, 2020, 4:47pm
#986
sonumohammad333:
So app runs smoothly
But the delay (component creating time) will be same.
1 Like
themaayur
(Mayur Berad)
July 31, 2020, 4:50pm
#987
There is something issue/bug in that extension, I was also trying to use it. But the Developer is not active here so we canât do anything.
2 Likes
Yes, time is same
But it improves user experience
When components are being created, I canât do anything on screen (7-8 seconds)
yusufcihan
(Yusuf Cihan)
July 31, 2020, 5:00pm
#989
But, you should read this reply about how making the task asynchronously affects this extensionâs behaviour.
Yes I can add, but I donât think it would be useful as the extension is synchronous instead of asynchronous. So firstly I need to make the extension to work asynchronously.
Because when you add other blocks below the Create block, they wonât be executed until Create block finishes creating the component.
Yes, this may sound terrible, but synchronous tasks have their own benefits anyway. But I can try to add an optional property to work asynchronously or not.
Here is an image to learn about sâŠ
1 Like
themaayur
(Mayur Berad)
July 31, 2020, 5:01pm
#990
Then donât load all data at one time just load some data that will fill the screen and the load on user scroll.
themaayur:
load on user scroll.
I am doing this
The API returns 30 per page
themaayur
(Mayur Berad)
July 31, 2020, 5:15pm
#992
Then load 10 or 5 each time according to your need.
Yeah⊠I thought about itâŠ
I request you to create an extension similar to Async Procedures extension to run Procedures
1 Like
yusufcihan
(Yusuf Cihan)
July 31, 2020, 5:50pm
#995
sonumohammad333:
Is schema faster?
Same speed, it just decreases the block usage.
Actually it takes less than 1 second to create 30 components, but if you are loading images from URL, you should use the Async Image Utilities component. Here is the speed benchmark.