Beagle v1.6 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
Beagle has a screen navigation tool that allows you to configure actions like navigate to a new screen or close one.
Besides these configuration, you can also customize the navigation of your application.
There are two customization options:
Beagle’s default protocol for customization is to use a native Android tool, to make fragment transition to customize your animation.
The other way to customize an animation is the transition through the BeagleActivity class implementation, which Beagle uses the getFragmentTransitionAnimation() method.
In case this method it isn’t implemented and customized, the transitions will follow Beagle’s default animation. The code below shows the BeagleActivity method, that can be overwritten this way:
open fun getFragmentTransitionAnimation() = FragmentTransitionAnimation(
enter = R.anim.slide_from_right,
exit = R.anim.none_animation,
popEnter = R.anim.none_animation,
popExit = R.anim.slide_to_right
)
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.