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

Make toggle stateless #308

Open
epicstar opened this issue Nov 21, 2016 · 2 comments
Open

Make toggle stateless #308

epicstar opened this issue Nov 21, 2016 · 2 comments

Comments

@epicstar
Copy link
Member

epicstar commented Nov 21, 2016

Refactor the app such that the toggles (stops, polylines) are stateless.

My current plan is to have the recyclerview only submit its current snapshot to 1 subject, which will branch off into 2 observables:

  • one that emits the currently selected selection snapshot
  • one that emits each individual route that is different from the previous snapshot
@epicstar
Copy link
Member Author

epicstar commented Nov 21, 2016

#307 may need to be solved this way.

Keep in mind that we may not need this right away if #302 and #301 end up being successful.

@epicstar epicstar self-assigned this Nov 21, 2016
@epicstar
Copy link
Member Author

@mikeantonacci feel free to bring up ideas/veto my current plan above.

@epicstar epicstar removed their assignment Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant