Hey there!
Is there a way to give a special Layer an higher priority while loading?
For my Project:
I am using the LoadingIndicator while builing a Sub-Page. (“LoadingIndicator | Fuse Open”). The Subpage contain 20 Subpages dynamically generated in a Tabview. It works all fine.
The Subpages are stored in an Observable and will be generated with a fetch. Each Object is added to the Observable.
The only Problem I have now is, that every time a sub Page is added to the Observable, the LoadingIndictor is laggy and the console says something like
Choreographer: Skipped 40-250 frames! The application may be doing too much work on its main thread.
So is there A way to tell the Thread or something else, that the LoadingIndicatior has hight Priority, so that it will not lag?
I hope you understand what I need! (=
Thanks for help!
Thanks for your replys!
It´s hard to reproduce this example in an small one Page Project x)
But mybe it helps, when explain a bit more
Each Subpage contains again two Subpages. And each Page/Subpage contains many Observables.
I figured out, that when I clean the Observable a bit, the Problem with the LoadingIndicator is gone…but then I dont have my data^^…
I tried deferred, but the only difference is, that it needs more time, but is still laggy
I know its hard to understand, when there is no code but still hope you got another idea
I am trying to reproduce this on a small Project! (=
Yeah, PageControl is good for a few pages like an intro but I think since you have a lot of pages and want it to be more performant that you should use the Navigator as it recycles pages and doesn’t try to load all of them at once.
@aeq I am a bit confused
I think it is not possible to build something similiar to this “https://fuseopen.com/examples/tabs-layoutmaster/index.html” with Navigator. Or is it and I dont get it?
I mean with the Tab Bar + Indicator and the swipe Animation between the Pages?!
Okay I am actually trying to build my needings in a one page example…my main Problem is now to set the Navigator with an Each and variables for the name.
But I will try