epiCode Active Member Licensed User Oct 10, 2021 #1 Is it possible to 1. Load a simple splash activity A (which displays basic app info) 2. Utilize the time to load activity B in background (with elements which take a longer time to get ready like populating CLV, Spinners etc from SQL) Any other workarounds are also welcome
Is it possible to 1. Load a simple splash activity A (which displays basic app info) 2. Utilize the time to load activity B in background (with elements which take a longer time to get ready like populating CLV, Spinners etc from SQL) Any other workarounds are also welcome
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Oct 10, 2021 #2 If you use B4xPages, then yes you can load up all of the other pages and initialise them whilst displaying a splash page. you will need to call AddpageandCreate rather then just AddPage. Upvote 0
If you use B4xPages, then yes you can load up all of the other pages and initialise them whilst displaying a splash page. you will need to call AddpageandCreate rather then just AddPage.
epiCode Active Member Licensed User Oct 10, 2021 #3 Andrew (Digitwell) said: If you use B4xPages, then yes you can load up all of the other pages and initialise them whilst displaying a splash page. you will need to call AddpageandCreate rather then just AddPage. Click to expand... Not possible without b4xpages ? Upvote 0
Andrew (Digitwell) said: If you use B4xPages, then yes you can load up all of the other pages and initialise them whilst displaying a splash page. you will need to call AddpageandCreate rather then just AddPage. Click to expand... Not possible without b4xpages ?
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Oct 10, 2021 #4 Not really if the other Page is an Android Activity (take a look at the Activity lifecycle). You can load the data in the background into classes (put the loading code in a service). But that will not allow you to populate visual elements. But it may be ok with lazy loading. OR you can use panels in one activity, but then B4xPages is a much better way of handling this. Upvote 0
Not really if the other Page is an Android Activity (take a look at the Activity lifecycle). You can load the data in the background into classes (put the loading code in a service). But that will not allow you to populate visual elements. But it may be ok with lazy loading. OR you can use panels in one activity, but then B4xPages is a much better way of handling this.