Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Releases: material-motion/material-motion-android

1.0.0

08 Dec 20:44
Compare
Choose a tag to compare

New features

  • Initial release!
  • MotionObservable and MotionObserver introduces a custom state channel.
  • InlineReadable and InlineWritable properties.
  • Stream operators: operator(), map(), filter(), and write().

Source changes

API changes

Auto-generated by running:

apidiff origin/stable release-candidate android library

Library

removed class: Library

removed constructor: Library()

removed static final field: String LIBRARY_NAME

InlineReadable

new abstract class: InlineReadable<T>

new constructor: InlineReadable()

new abstract method: T read()

InlineWritable

new abstract class: InlineWritable<T>

new constructor: InlineWritable()

new abstract method: void write(T)

MotionObserver

new abstract class: MotionObserver<T>

new constructor: MotionObserver()

new abstract method: void next(T)

new abstract method: void state(int)

MotionState

new annotation: @MotionState

Operation<T,

new abstract class: Operation<T,

new constructor: Operation()

new abstract method: void next(MotionObserver<U>, T)

Predicate

new abstract class: Predicate<T>

new constructor: Predicate()

new abstract method: boolean evaluate(T)

Transformation<T,

new abstract class: Transformation<T,

new constructor: Transformation()

new abstract method: U transform(T)

MotionObservable

new class: MotionObservable<T>

new constructor: MotionObservable(Subscriber<MotionObserver<T>>)

new static final field: int ACTIVE

new static final field: int AT_REST

new method: <O> MotionObservable<T> write(O, Property<O, T>)

new method: <O> MotionObservable<T> write(InlineWritable<T>)

new method: <U> MotionObservable<U> map(Transformation<T, U>)

new method: <U> MotionObservable<U> operator(Operation<T, U>)

new method: MotionObservable<T> filter(Predicate<T>)

Non-source changes