Conference-app-2020: defines the default animation

Created on 14 Jan 2020  ยท  6Comments  ยท  Source: DroidKaigi/conference-app-2020

Kind (Required)

  • Other

    Overview (Required)

  • defines the default animation for navigation component.

https://github.com/DroidKaigi/conference-app-2020/blob/master/corecomponent/androidcomponent/src/main/res/navigation/navigation.xml#L14

welcome contribute

Most helpful comment

I wanna try. ๐Ÿ™‹โ€โ™‚๏ธ

All 6 comments

I want to contribute.
But I don't understand the aim of this issue.
modify @anim/fade_in and @anim/fade_out ?
add new animation files ?

Thank you for the comment! ๐Ÿ‘
We should implement the XML attribute for all actions.
But we don't want to create boilerplate.

app:enterAnim="@anim/fade_in"
            app:exitAnim="@anim/fade_out"
            app:popEnterAnim="@anim/fade_in"
            app:popExitAnim="@anim/fade_out"

https://github.com/DroidKaigi/conference-app-2020/blob/master/corecomponent/androidcomponent/src/main/res/navigation/navigation.xml#L14

So we want to add default animation.

OK, I see.
The boilerplate is wordy.
But I can't find the solution. Sorry

It's ok. me too ๐Ÿ˜„

I wanna try. ๐Ÿ™‹โ€โ™‚๏ธ

Thanks! Assigned

Was this page helpful?
0 / 5 - 0 ratings

Related issues

takahirom picture takahirom  ยท  8Comments

ry-itto picture ry-itto  ยท  4Comments

FujiKinaga picture FujiKinaga  ยท  6Comments

nashcft picture nashcft  ยท  3Comments

takahirom picture takahirom  ยท  5Comments