i am using Airtable :airtable: to make a dynamic App and i have just 11 rows in table and its taking a lot of time to load that, i m running the app in underdevelopment that is Test mode and when its published then it make have thousands of data in the table to load . How my app will run.
I got the same problem, it’s really annoying for me that when I load from Airtables it freezes my app for about 5 sec before the data loads. I don’t have alot of data to collect, maybe 40 cells total.
load your files with when screen initialze and safe the data into a gloabal variable. So the user has enough time until to get the data. I load more as 1000 Items from airtable in a list. Without a problem but i pay for airtable too.
I do save them into global variable. But I did manage to reduce the time by adding the pictures/icons I use into the app, instead of loading from URL each time. So that reduced the loading time from 5 sec to 1,5 sec
OK sounds great what you mean with URL you put in airtable cell the URL from an Image like www.freepic.com and in the app you load the Image from the given URL. Is this right
Yes thats right you have less to load so its faster but your app gets biggger. If you want to safer Disk Space than load the image in the app with a low resolution so that your habe have only a few KB. After you build your APK you can chnage the low resolution picture with the high resolution Picture. This will safe a lot of Disk Space. I load in my app only black and white picture with the lowest resolution what is possible in the online converter. so my pic havae normaly 10 KB or so. After i build the APK is change this pic with a pic with a half MB or so. I hope this will help you a bit. Because ifg you need more pictures than you 20 MB Limmit is quick over
Airtable Loads data just fast like other but the problem is when we load any images from the Web Then thn it takes a lot time to view especially is we are using Material CardView Extension.
Solution :
If u are not using the Material CardView then the Best Solution is to use Glide in App & The Extension below have it in them:
And if u wanna to show to data in cardView then I suggest you all to use GridCardView Extension which is Paid by @Kus_Zab which have glide added with CardView.
Great @Techy_Rakshak, btw i will like to know if there is any way to async image load in a list view with card view on it. as im working with news app, list view is better for me than gridview.
Hi David,
You can use CollinTreeList View BUT one problem with it doesn’t show the image correctly. mean shuffled incorrectly…
So, personally i would recommend you to use GridCardview Extension by @kuz_Zab