Release 3.4.2 (2018/04/11)
Toro 3.4.2 and above will be developed by Android Studio 3.1.0+, and maybe kotlin as well.
-
Development
- Migrate the repo to Android Studio 3.1.1.
- Remove
gradle.properties-sampleand some internal change so contributor can start forking and contributing more easily. - Toro is now distributed to SNAPSHOT channel as well for early builds. This enables user to try latest updates with ease. Detail can be found on README.
-
toro-core
- Add a mechanism to support the case
Containeris used inCoordinatorLayoutwith other Views, usingBehavior. Detail can be found on README. - Add
ToroUtil#wrapParamBehavior()to help shorten the setup of newBehaviorabove. - Add
VolumeInfofor a tailored volume setup. It holds the 'mute' status as well as the actual volume value when the playback is unmuted. - Add
ToroPlayer$OnVolumeChangeListenerthat listens to the change of internalVolumeInfo. Instance of this interface is setup byToroPlayerHelperand its variants. Containerwill no longer start a delayed playback if the scroll is not idled.
- Add a mechanism to support the case
-
toro-exoplayer
Confignow accepts an array ofDrmSessionManagers instead of a singleDrmSessionManager. This is an experiment.- Add
Playable#setParameters()andPlayable#getParametersto match ExoPlayer behaviour. - Add
ToroExoPlayerwhich extendsSimpleExoPlayerand provides the ability to work withVolumeInfo. Playableand default implementations are updated to work withVolumeInfo.
-
toro-mopub
- Add custom UI components:
PlayerViewandToroControlViewthat combines ExoPlayer r2.4.4 implementation with some fixes from ExoPlayer 2.7.0. - Add
Playable#setParameters()andPlayable#getParametersto match ExoPlayer behaviour. - Add
ToroExoPlayerwhich extendsSimpleExoPlayerand provides the ability to work withVolumeInfo. Playableand default implementations are updated to work withVolumeInfo.- Demo app is updated using new UI components as well as
VolumeInfo.
- Add custom UI components:
-
Others: minor performance improvement update.
-
Detail implementation and suggested usage can be found on demo applications.