Serge Zaitsev

Results 110 comments of Serge Zaitsev

Also, here's a list of XML properties related to layout params: - [x] layout_above - [x] layout_alignBaseline - [x] layout_alignBottom - [x] layout_alignEnd - [x] layout_alignLeft - [x] layout_alignParentBottom -...

This narrows down the scope to: - [ ] Design DSL: support anchor view ID and anchor gravity for CoordinatorLayout - [x] Base DSL: support DrawerLayout and CoordinatorLayout and Toolbar...

Thanks for rising this topic! Starting with Anvil 0.5 there can be more than one DSL in the chain. Users may register their own attribute setters for certain attributes or...

Sure, a PR for such a function is more than welcome!

@LukasVykuka if I understand it correctly, you can just wrap actual methods with `if (Build.VERSION.SDK_INT >= 17) ...` so they won't be called on older API levels. On the other...

@LukasVykuka Ah, I see. I'd either leave it as it is now, or implemented via SDK_INT check so that on pre-17 devices it was calling setCompoundDrawable, but on newer devices...

Hi, do you cache your adapter instance or do you reuse the same one (e.g. inline it like `adapter(new RenderableAdapter() { ...})`? In the latter case the list will be...

Thanks for the pull request! Do you think if would be better to made generated DSL classes inherit these base classes, so the base classes would be registered automatically as...

@rblalock In theory - yes, I try to look at the issue tracker and PRs, but realistically - probably not :pensive: I don't do much android development anymore these days....

@fpbitencourt Sorry, which example do you refer to? `xml()` works only inside Renderables (e.g. RenderableViews or lambdas). In the first snippet you first inflate the XML layout into the activity...