lisawray / groupie

Groupie helps you display and manage complex RecyclerView layouts.
MIT License
3.66k stars 293 forks source link

Add 'groupie-ktx' module for extension functions #431

Open jack-webb opened 2 years ago

jack-webb commented 2 years ago

Implements the following todo:

// TODO(zhuinden): move this into its own artifact later: `groupiex` (or rather, `groupie-ktx`)

With groupie-kotlin-android-extensions now deprecated, I've taken to removing it as a dependency in my projects. The module also includes the extension functions for plusAssign/minusAssign, which aren't deprecated, and I'd like to continue using.

This PR moves these extensions to a new module, groupie-ktx, so they can be depended upon without including the synthetics stuff. The existing groupie-kotlin-android-extensions now depends on this new groupie-ktx, to avoid duplicating code between the two.