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

problem when there loading window ibefore set the action bar #50

Closed
adelemam opened this issue Nov 6, 2014 · 2 comments
Closed

problem when there loading window ibefore set the action bar #50

adelemam opened this issue Nov 6, 2014 · 2 comments

Comments

@adelemam
Copy link

adelemam commented Nov 6, 2014

When i call module function at a view to make its parent set ,and there is loading window show at start
the module doesn't set the action bar ( it set the loading window even when we disable action bar at loading window of course)

@manumaticx
Copy link
Collaborator

Although I recommend you not to use windows as loading indicators I admit that it might be reasonable to pass a window reference to this module. That way we could ensure that actionbarextras references the right activity.

I'm going to add this feature soon. In the meantime you may want to refactor your code to avoid wrapping your loading screens in a dedicated window. This could lead to some bad UX. If you cannot solve this issue, please share some code and I'll do my best to help out.

@manumaticx
Copy link
Collaborator

@adelemam you can now do this:

abx.window = win;

The module will then work with the actionbar of that window instead of the current window.

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

2 participants