Version 0.8.0
Declarative Data Handling with Sections
We are all very excited about this release! It includes our new Sections API for declarative data handling for lists. In order to use it, you need to include the three new modules litho-sections-core
, litho-sections-annotations
and litho-sections-processor
.
Read more about Sections in Mihaela's announcement post, watch the announcement talk from Droidcon UK or jump straight into the Sections Tutorial.
New APIs for Sub-Component Testing
We have a brand new set of fluid APIs on top of AssertJ and Hamcrest to help you verify that components build the sub-components you expect. Check out the documentation!
Litho <3 Kotlin
We've made a bunch of smaller changes that make writing Component Specs in Kotlin easier. Most things should Just Work, but you can refer to our meta issue to learn about some remaining necessary workarounds.
There is also a full sample app written in Kotlin for you to check out, as well as updated getting started instructions for Kotlin.