davidmoten / rxjava-extras

Utilities for use with rxjava
Apache License 2.0
269 stars 27 forks source link

toListUntilChanged(Func1<? super T,? extends U> keySelector) #1

Closed thomasnield closed 9 years ago

thomasnield commented 9 years ago

Can we implement an overload for the Transformers.toListUntilChanged() that accepts a Func1<? super T,? extends U> keySelector)? That way you can choose what to distinct on just like the Observable's distinct() operator can...

davidmoten commented 9 years ago

That's in already and is called toListWhile().

On Fri, 28 Aug 2015 02:14 Thomas Nield notifications@github.com wrote:

Can we implement an overload for toListUntilChanged() that accepts a Func1<? super T,? extends U> keySelector)? That way you can choose what to distinct on just like the Observable's distinct() operator can...

— Reply to this email directly or view it on GitHub https://github.com/davidmoten/rxjava-extras/issues/1.

thomasnield commented 9 years ago

Okay sorry, must have an older build at work...