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

Use SparseArray instead of HashMap for resultListeners #61

Closed
Popalay opened this issue Feb 6, 2018 · 1 comment
Closed

Use SparseArray instead of HashMap for resultListeners #61

Popalay opened this issue Feb 6, 2018 · 1 comment

Comments

@Popalay
Copy link
Contributor

Popalay commented Feb 6, 2018

private HashMap<Integer, ResultListener> resultListeners = new HashMap<>();

can be replaced with

private SparseArray<ResultListener> resultListeners = new SparseArray<>();

@Jeevuz
Copy link
Contributor

Jeevuz commented Feb 6, 2018

It can't be used, because Cicerone is a java library.

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