Skip to content
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

Delegate used with ProgressBar is invalid #9

Open
travisvitek opened this issue Sep 21, 2016 · 0 comments
Open

Delegate used with ProgressBar is invalid #9

travisvitek opened this issue Sep 21, 2016 · 0 comments
Assignees

Comments

@travisvitek
Copy link

travisvitek commented Sep 21, 2016

The NamasteController code pushes a ProgressBar in several locations, but the delegate that is provided is a reference to self. In this case self does not extend BehaviorDelegate and does not implement onBack, so I expect bad behavior. If you press back while the ProgressBar is visible, you will see that the application crashes with a 'Symbol Not Found Exception'.

I believe the simplest solution is to pass a reference to a delegate that handles onBack by calling System.exit() or NamasteController.onExit().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants