Splitties Versions Save

A collection of hand-crafted extensions for your Kotlin projects.

v1.3.0

7 years ago

5 new library modules:

  • App Context: Have a Context everywhere
  • Concurrency: Single thread lazy implementations, with reporting via Timber support
  • Material Lists: List Items for RecyclerView implementing Material Design Guidelines
  • Preferences: Property syntax for Android's SharedPreferences
  • Stetho init: Have Stetho without writing any code!

1 renamed module:

  • Selectable Views replaces Selectable ViewGroups

Other changes:

  • Selectable Views now has a SelectableTextView. Made to use it on simple, single-line list items.
  • Typesafe RecyclerView now depends on Kotlin
  • Typesafe RecyclerView has a new ItemViewHolder helper class for simple but common use cases.

v1.2

7 years ago

This version adds the setHost(Host host) method in ViewWrapper.Binder interface where Host can be any type you want you can use from the implementing item View to communicate with your Activity, Fragment, Presenter, or whatever. Note this adds a third type parameter to the ViewWrapper class, and a second one for the ViewWrapper.Binder class.

v1.1

7 years ago

This version adds the setViewHolder(ViewWrapper holder) method in ViewWrapper.Binder interface so list item Views can now get a reference to their ViewHolder, and call getAdapterPosition() on it for example.

v1.0

7 years ago

This is the first release of Splitties. It included two independent modules:

  • Typesafe Recyclerview
  • Selectable ViewGroups

For gradle projects from jcenter() repo:

compile 'xyz.louiscad.splitties:selectableviewgroups:1.0'
compile 'xyz.louiscad.splitties:typesaferecyclerview:1.0'