Releases: airbnb/epoxy
4.6.1
4.6.1 (May 13, 2021)
Adds "epoxyDisableDslMarker" annotation processor flag which you can use to delay migration to the model building scope DLSMarker introduced in 4.6.0 if it is a large breaking change for your project.
Note that this only applies to your project modules that you apply it to, and does not apply to the handful of models that ship with the Epoxy library (like the Carousel or group
builder).
For example:
project.android.buildTypes.all { buildType ->
buildType.javaCompileOptions.annotationProcessorOptions.arguments =
[
epoxyDisableDslMarker : "true",
]
}
4.6.0
4.6.0 (May 12, 2021)
New Feature!
Epoxy View Binder (#1175) Bind epoxy models to views outside of a RecyclerView.
Potentially Breaking
- Use kotlin dsl marker for model building receivers (#1180)
This change uses Kotlin's DSL marker annotation to enforce proper usage of model building extension
functions. You may now need to change some references in your model building code to explicitly reference properties with this
.
4.5.0
4.4.4
4.4.3
4.4.2
4.4.1
4.3.1
- Fix ANR and view pool resolution in nested group (#1101)
- ModelGroupHolder get recycle pool from parent (#1097)
- Add support for EpoxyModelGroup in the EpoxyVisibilityTracker (#1091)
- Convert EpoxyVisibilityTracker code to Kotlin (#1090)
Breaking Changes
Note that due to the conversion of EpoxyVisibilityTracker to kotlin you now need to access - EpoxyVisibilityTracker.partialImpressionThresholdPercentage as a property
epoxyVisibilityTracker.setPartialImpressionThresholdPercentage(value) -> epoxyVisibilityTracker.partialImpressionThresholdPercentage = value`
Also, the ModelGroupHolder improvement required the ModelGroupHolder#createNewHolder function to change its signature to accept a ViewParent parameter.
If you override createNewHolder() anywhere you will need to change it to createNewHolder(@nonnull ViewParent parent)