Get animated (Android Dev Summit '18)

preview_player
Показать описание
Android offers a range of animation systems—from ObjectAnimator, to window animations, transitions, physics based animations and now MotionLayout, which is a new class available in the ConstraintLayout 2.0 library that can manage motion and widget animation in applications.

This talk provides an exhaustive overview of the various systems, showing how and when to use each one, and how to make them play together nicely. Knowing the difference between the systems will help you to quickly and confidently use the right system to achieve any animation in your app.

Presented by: Doris Liu, Nick Butcher, John Hoford & Nicolas Roard

#AndroidDevSummit event: Android Dev Summit 2018; re_ty: Publish; product: Android - Jetpack; fullname: John Hoford, Nick Butcher, Nicolas Roard;
Рекомендации по теме
Комментарии
Автор

1:15 Android Animation APIs (overview) :
View Animations
Value Animator
Object Animator
View Property Animator
Transitions
Animated Vector Drawable
Physics
Motion Layout
2:52 One single use case where View Animations are still required
And that is when you are doing Window Animations, when a new activity launches
3:34 Other use case for View/Window Animations is if fragment transactions are being done
3:56 So, When to use View :
Window animations
Fragment animations requiring measured size
4:17 Animator
5:25 Animators
ObjectAnimator
ValueAnimator
Animator
AnimatorSet
5:37 ViewPropertyAnimator -> ValueAnimator -> Animator
7:25 PropertyValueHolder demo
8:30 ObjectAnimator demo code
ObjectAnimator.ofPropertyValuesHolder(failText, scale X, Scale Y, alpha)..
8:38 Above PropertyValueHolders in xml
9:25 ViewPropertyAnimator
11:10 ValueAnimator
12:44 When to use which Animator
ObjectAnimator - general purpose, property animator
ValueAnimator - custom animation
ViewPropertyAnimator - multiple properties on the same view, fire and forget
PropertyValuesHolder - multiple property on the same object
AnimatorSet - choreograph a set of animations
14:10 Animated Vector Drawable
It connects together Vector Drawable to one and multiple objects of Animator
15:12 When to use AnimatedVectorDrawable :
Icon animations
Fire & forget animations
Performance critical
15:50 Physics based Animations
Interruptible
Continuity
Realistic look
19:20 Transitions
21:45 When too use Transitions :
Shared element activity transitions
Window content enter/exit
Modularize animations
Simple changes
22:13 Motion
22:35 Constraint Layout 2.0 :- Helpers
26:20 Motion Layout

freshfast
Автор

In 2019 people will wonder why all their apps start dancing and bouncing

codinginflow
Автор

This is amazing. And John Hoford is such a cool guy

codinginflow
Автор

John Hoford is a great guy, always having a mild smile on his face.

arpan.sarkar
Автор

12:26 I try that code, it's doesn't work but when I change textView.invalidate() to textView.setText(spannable), it works well

陈滔-xt
Автор

Please add a codelab based on this so that we can get hands on experience

chelseaisking
Автор

Nice overview of all animation frameworks, gives me pointers on what to learn next for animations in Android

AbhishekBansal
Автор

Usefull video. Where and when we could try transition tool? There is alredy year since you introduce it

FreedivingTrainer
Автор

Each animation api's usecase scenario summary: 37:47

thomato
Автор

Subtitles in English are missing in someplaces

indiemakerpodcast
Автор

How do I make an animation like the one at 6:10?

ottocheley
Автор

Thanks. It was so clear for understanding!

antoneltonij
Автор

I need that keyframe tool in my life :)

andrewtfluck
Автор

very useful stuff. That last speaker was mint. Haha

chrislagos
welcome to shbcf.ru