My app contains a lot of assets that i am using with AssetManager. Currently my app is taking too long to start up. How can i solve this? or is there any way to show a Splash Screen till the assets are loaded and the next activity is loaded?
Asked
Active
Viewed 88 times
0

Phantômaxx
- 37,901
- 21
- 84
- 115

Asfaque Ahmed
- 215
- 4
- 14
-
What type of contents do you have in your `Asset` – Ümañg ßürmån Oct 22 '18 at 07:28
-
You can use flutter: https://medium.com/@diegoveloper/flutter-splash-screen-9f4e05542548 – Shivam Arora Oct 22 '18 at 07:29
-
jpg image file only – Asfaque Ahmed Oct 22 '18 at 07:29
-
@AsfaqueAhmed And those images are loaded in the splash screen right? – Ümañg ßürmån Oct 22 '18 at 07:30
-
They are loaded in first activity. So that the activity is taking lang time actually. – Asfaque Ahmed Oct 22 '18 at 07:35
-
The activity is taking time to load because the of the resolution of those .jpg images. I has the same problem. What is the resolution of your images @AsfaqueAhmed This will also increase the size of your .apk file. – Ümañg ßürmån Oct 22 '18 at 07:50
-
Total 7mb image – Asfaque Ahmed Oct 22 '18 at 09:37