Hi does anko support <merge /> in any sort ...
# anko
d
Hi does anko support <merge /> in any sort of way? The use case is i have a group of views i want to add to a coordinator layout and i need them to be direct children so that the Behaviors work correctly.
m
You can write a method which adds these views.
Copy code
fun someViews(into: CoordinatorLayout) = with(into) {
    ...
}
p
Or like:
Copy code
fun CoordinatorLayout.someViews() {
  ...
}