January 2018
Intermediate to advanced
434 pages
14h 1m
English
Writing UI in XML is not type safe or null safe, and it also eats CPU and battery. Writing UI programmatically (especially in Java) becomes bulky and unmanageable for large and complex UIs. That is when Anko layouts come to the rescue. We can easily create layouts in DSL using Anko layouts, and it also has no runtime overhead. In this recipe, we will see how to create layouts using DSL.
Read now
Unlock full access