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

Explore databinding for View DSL #112

Open
LouisCAD opened this issue Aug 18, 2018 · 0 comments
Open

Explore databinding for View DSL #112

LouisCAD opened this issue Aug 18, 2018 · 0 comments

Comments

@LouisCAD
Copy link
Owner

Any participation/help in the API design process is appreciated!

Things to consider:

  • Optional feature (so probably separate split(s))
  • What to support? LiveData, kotlinx.coroutines channels or upcoming cold streams, Android databinding types, something custom, or more abstract to be adaptable to anything?
  • How to make it work with not just View properties, but also layout params, view hierarchies (but is this a good idea?), as well as other things indirectly controlling the views? Also, what about combination of those? Wouldn't a simple someChannel.doOnEach(parent = …) { something -> … } and similar for other types do the trick?
  • Isn't Anvil about the same kind of thing? Here's an article about it that may be interesting to read.
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