-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScreenConductor causing lags between screens #86
Comments
ScreenConductor was created specifically to preserve scroll position, so Re jankiness, we are indeed fighting that. What makes you think it's GC Tiny keyboard has opinions on speling.
|
Regarding view persistence, we are calling Regarding jankiness, we did profile. We are seeing jankiness in both re-creating and destroying the object graph. |
Sorry, hallucinating. Internally we save and restore screen state as In the meantime if you want to do it on your own, see this for a discussion Tiny keyboard has opinions on speling.
|
Also worth noting that you could implement a cache on top of Mortar to keep those views and scopes around. @loganj has done something like this in one of our apps. |
We have started using the
ScreenConductor
class in the mortar sample project in our own app. At first we were impressed with its simplicity. We were especially delighted to find a surprising side-effect of using this class to switch between screens: a smaller memory footprint due to the fact that at any one time, only views for one screen is present.However, as our app grows to become more mature and each screen becomes more heavyweight, we are starting to see problems.
I was wondering if you guys could share with us whether you guys are also using
ScreenConductor
in your production apps at Square. If so, are you also running into the problems that we have observed?The text was updated successfully, but these errors were encountered: