cycler icon indicating copy to clipboard operation
cycler copied to clipboard

Documentation about sticky headers and swipe

Open christophehenry opened this issue 5 years ago • 1 comments

Hi!

The documentation states Cycler should have common features including sticky headers but I don't see it anywhere in the documentation. Am I missing something?

christophehenry avatar Oct 12 '20 08:10 christophehenry

I don't think it's been implemented yet.

I would have expected to see classes like StickyHeaderExtension and StickyHeaderExtensionSpec along with an extension function like this:

fun <I : Any> Recycler.Config<I>.stickyHeaders(block: StickyHeaderExtensionSpec<I>.() -> Unit) {
  extension(StickyHeaderExtensionSpec<I>().apply(block))
}

@helios175 Could you provide some guidance on which RecyclerView APIs need to be wrapped in Extension<T> in order to implement this feature?

luis-cortes avatar Oct 24 '20 01:10 luis-cortes