greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2019
10:05 AM
BusySpinner
I created a BusySpinner in BS and repeatedly called a TASK to build up a scroll-able screen.There could be a large number of entries, so I call the TASK for multiple groups.I started with a group of 200 but it looks like the spinner hangs until the TASK completes. Lowered it to a group of 20, just so the spinner would.
The spinner STOPS while running the TASK. I guess because it runs under my BS activity ?
Would creating the spinner inside of a TASK make it functional ?
The spinner STOPS while running the TASK. I guess because it runs under my BS activity ?
Would creating the spinner inside of a TASK make it functional ?
2 REPLIES 2

speechles
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2019
11:56 AM
Re: BusySpinner
You mean would the spinner keep spinning with a task. Yes.
https://github.com/rokudev/hero-grid-ch ... gIndicator
That example might help.
The thread you call the BS Activity thread is actually the render thread. Inside a task is the worker thread. Inside the worker thread you can animate the indicator that shows in the render thread.
https://github.com/rokudev/hero-grid-ch ... gIndicator
That example might help.
The thread you call the BS Activity thread is actually the render thread. Inside a task is the worker thread. Inside the worker thread you can animate the indicator that shows in the render thread.
norcaljohnny
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2019
07:52 PM
Re: BusySpinner
Sounds like you are just calling it to start and stop in the wrong spots.. I'm not sure I even fully understand the question but I have had no problems and I have tested it with over 10,000 files rendering in a task.