I use in the application Bottom navigation and ViewPager . The transition to the frangment occurs by swipe y or by clicking on the tab Bottom navigation . Is this approach a violation of google guidlines ? I was looking for information at the office. site but did not find the answer to your question.
|
1 answer
As far as I remember earlier, yes, it was written in the dock that BottomNavigation should not be connected to ViewPager .
Now there is no direct prohibition, but there is a prescription not to use transition animations between screens similar to the ViewPager behavior.
https://material.io/design/components/bottom-navigation.html#behavior
Google itself, it seems, says that MATERIAL DESIGN is a recommendation, not a law. Those. it can be broken. Google itself sometimes breaks it in its applications.
|