Hey guys, can anyone advise a library for building...
# android
a
Hey guys, can anyone advise a library for building android ui using dsl? From the requirements: at least a 1000 stars on the github and the last commit no later than a year ago.
e
c
Most Android DSL libraries didn’t last very long. The UI and configuration of the normal View system generally proved to be too complex to make a clean DSL out of. There’s a lot of implicit binding with XML that was difficult to do correctly in a DSL (LayoutParams, Themes, etc). You’re probably better off waiting until #compose is stable
2
💯 1
w
I agree with @Casey Brooks, I just made my own non-general-purpose DSL for the ui I need, waiting for compose
t
Jetpack compose, but it is still in preview. It is the safest bet as it is officially supported by google.