A declarative framework for building efficient UIs on Android.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by passy almost 7 years ago
This isn't the most exciting release, sorry. The Play Store version of the release notes would be "Bug fixes & performance improvements".
Published by passy almost 7 years ago
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.
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!
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.
Published by passy almost 7 years ago
In typical social media app fashion, this release is mostly "bug fixes and performance improvements".
We have also made some improvements to the code generator for Kotlin specs. While we don't officially support Kotlin specs yet, we'd be super interested in your feedback!
Published by passy about 7 years ago
It's been 295 commits since the last release! Here are some of the highlights:
withLayout
is now deprecated! Read more in the announcement. Breaking change: This means that certain prop-names that were previously allowed can no longer be used in custom component specs.Published by passy about 7 years ago
Well this was a lot faster this time, wasn't it?
This release features one significant long-awaited change: Support for SnapHelper
in Recycler
.
(46eb25a0a749b7b873cfc116e22ea918ac6df97a)
This means that you can finally implement any kind of snapping behavior by just passing a SnapHelper
to a Recycler
component as a Prop. Check out 150d3e4c64321778eeaab4b8b3e76e5e4138f for an example of how we use this in our sample App.
Leave your feedback about this in our community group: https://www.facebook.com/groups/litho.android/permalink/111049929590158/
Published by passy about 7 years ago
It's been a while! Litho v0.6.0 brings 184 new commits since the last release.
ComponentInfo
was renamed RenderInfo
.litho-fresco
now works with Fresco 1.5.0: 63499e5ff6a58c0aec9666247cb34b8ef2fae9faThanks to our external contributors this release: @jollycopper and @AllanWang!
Published by passy about 7 years ago
Sorry to disappoint, but this release doesn't bring any major changes. :(
Yoga had a big release, however, and got bumped to 1.6.0, which is why we're going up by one minor version as well. You can find the Yoga release notes on their GitHub page.
Published by passy over 7 years ago
Published by passy over 7 years ago
Published by passy over 7 years ago
Prop defaults now also support default values from Resources via setting a resType
and resId
.
@PropDefault(resType = ResType.DIMEN_SIZE, resId = R.dimen.default_spacing)
static float prop3;
Massive kudos to @pavlospt for implementing this! 🍰 🎉
Published by passy over 7 years ago
Espresso Support
We added some basic support for Espresso matchers. Check out the docs and let us know what you think.
Stetho package change
This is a breaking change. All Stetho-related utilities in the litho-stetho
package now live in the com.facebook.litho.stetho
package namespace. They were previously part of com.facebook.litho
.
Published by passy over 7 years ago
1.5.0
.litho-widget
on litho-fresco
.litho-annotation
.Published by IanChilds over 7 years ago
This release removes the license from generated code which was unintentionally present in v0.1.0.
Published by IanChilds over 7 years ago
Initial Release