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-sample
and 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
Container
is used inCoordinatorLayout
with other Views, usingBehavior
. Detail can be found on README. - Add
ToroUtil#wrapParamBehavior()
to help shorten the setup of newBehavior
above. - Add
VolumeInfo
for a tailored volume setup. It holds the 'mute' status as well as the actual volume value when the playback is unmuted. - Add
ToroPlayer$OnVolumeChangeListener
that listens to the change of internalVolumeInfo
. Instance of this interface is setup byToroPlayerHelper
and its variants. Container
will no longer start a delayed playback if the scroll is not idled.
- Add a mechanism to support the case
-
toro-exoplayer
Config
now accepts an array ofDrmSessionManager
s instead of a singleDrmSessionManager
. This is an experiment.- Add
Playable#setParameters()
andPlayable#getParameters
to match ExoPlayer behaviour. - Add
ToroExoPlayer
which extendsSimpleExoPlayer
and provides the ability to work withVolumeInfo
. Playable
and default implementations are updated to work withVolumeInfo
.
-
toro-mopub
- Add custom UI components:
PlayerView
andToroControlView
that combines ExoPlayer r2.4.4 implementation with some fixes from ExoPlayer 2.7.0. - Add
Playable#setParameters()
andPlayable#getParameters
to match ExoPlayer behaviour. - Add
ToroExoPlayer
which extendsSimpleExoPlayer
and provides the ability to work withVolumeInfo
. Playable
and 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.