Splitties
Splitties copied to clipboard
Explore databinding for View DSL
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.