YouTube view

0

What is this type of view based on, where BottomNavigationView is seen? I know they are not Fragments because the life cycle remains and is not destroyed (or so I think), but from what I have seen, Fragment is usually used when combined with the navigation , and I am making a app in which the view has a navigation combined with Fragment , but the problem is that in the Fragment main does a lot of work (coroutines) as well as in the others, and then the performance is not very optimal because each time they change to another Fragment (they are 4) one is destroyed and it reloads again. I do not know if they are Activities or other type of view that uses YouTube App , which is similar to Spotify but this one is destroyed every time you pass the tab.

PS: I'm new to Android .

    
asked by Andres Martinez 22.12.2017 в 22:16
source

0 answers