Hello everyone ,
I used
Vertical Alignment and loading Lottie file in it,
Vertical Alignment and No network Lottie file ,
Vertical Scroll Alignment and custom listview
And Timer to make them visible and hide ,
When screen initialize VA loading is visible,and both are invisible
And Timer duration is 3 sec ,
When the clock = timer , if network is available I showed vertical scroll alignment with list view else it shows No network .
Problem
It’s good when I used like this in fast internet but when I used slow internet there is some sec gap between ( Loading screen & Custom Listview )
My question is,
How can I show the loading screen until the Listview loaded and there shouldn’t be any gap of white screen between them ,
Check this video too ,
1.mp4 (9.7 MB)
And my APK file too VN.apk (5.1 MB)
ImranTariq
(Imran Tariq)
September 24, 2019, 5:15am
#2
dont use timer, simply when listview loaded completely an items added to list view that disable lottie and show listview
1 Like
But there isn’t any option for fully loaded
ImranTariq
(Imran Tariq)
September 24, 2019, 5:22am
#4
where are you adding items to list? right after that use that method, like where you are adding items to list , right below there use , set lottie visible to false, set list arrangement visible to true
1 Like
Still I didn’t understand anything
Srrazmi
(srmoney.in Is Lunched Successfully )
September 24, 2019, 5:58am
#6
Where’s From Are You List Geting
If FireBase Use Blocks Like This
When Firebase Got Value
Set listview List Value
Set Lottie Arrangement Visible to False
If Any Other Data Base Use
When (DataBase) Got Value
Set listview List Value
Set Lottie Arrangement Visible to False
1 Like
Srrazmi
(srmoney.in Is Lunched Successfully )
September 24, 2019, 6:07am
#8
Yes But I Think You Don’t Need This Function
If Call Network1.Is Connected
You Should Use It When You Call To Load Data
1 Like
Now it stucked on loading screen
Srrazmi
(srmoney.in Is Lunched Successfully )
September 24, 2019, 6:22am
#10
himalayanxtiger:
Now it stucked
You Have To Recheck Your Blocks You Haven’t Set The Value In Listview After Got All Rows
Thank you now it’s working fine ,
I use network test in screen initialize and when got value value hide them
Srrazmi
(srmoney.in Is Lunched Successfully )
September 24, 2019, 6:37am
#12
himalayanxtiger:
it’s working fine ,
Mark As Solution If You got
After viewing your blocks i suggest you to don’t use timer…
You should call list view when data is loaded… That’s the best way for every internet connection… Either slow or fast
system
(system)
closed
October 24, 2019, 7:50am
#14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.