Slow screen refresh when moving between stacks
Posted: Thu May 13, 2021 2:07 pm
I have a somehow difficult to describe problem on Android hardware , that doesn't show on iOS standalone nor on development (Mac), probably because a better speed of execution.
It is difficult to pin point this navigation problem because of so many lines of code that get run when moving form stack to stack.
I have, let's say, a main Stack "A" which has 2 substacks, "B" and "C".
- "A" is always opened and I show/hide it at need
- "B" and "C" are closed when moving from one to the other
1) From "B", I go to "C" ("A" is hidden)
2) from "C" I go to "A", show "A" and then close "C"
3) from "A" I go to "B" and hide "A"
Action 3) is where there is a problem: navigation is correct, but before showing "B", the phone screen shows "C" for around half a second (my Android phone is pretty slow).
"C" should be closed (and it is, I checked with openstacks) but still will show in between for a short time.
No openstack or preopenstack is run on "C"
For what I can tell in the "Message Watcher", substack "C" is not involved what's so ever in action 3
What could possibly cause what looks like a refresh problem?
Thanks
It is difficult to pin point this navigation problem because of so many lines of code that get run when moving form stack to stack.
I have, let's say, a main Stack "A" which has 2 substacks, "B" and "C".
- "A" is always opened and I show/hide it at need
- "B" and "C" are closed when moving from one to the other
1) From "B", I go to "C" ("A" is hidden)
2) from "C" I go to "A", show "A" and then close "C"
3) from "A" I go to "B" and hide "A"
Action 3) is where there is a problem: navigation is correct, but before showing "B", the phone screen shows "C" for around half a second (my Android phone is pretty slow).
"C" should be closed (and it is, I checked with openstacks) but still will show in between for a short time.
No openstack or preopenstack is run on "C"
For what I can tell in the "Message Watcher", substack "C" is not involved what's so ever in action 3
What could possibly cause what looks like a refresh problem?
Thanks