I use one action as a container and several fragments. Some fragments need to display the application panel, and some do not, while others need to show a special application panel (for example, an application panel that shrinks as you scroll up). So where should I put the application bar (or action bar), in an action or in fragments?
By the way, if I place the application panel inside fragments, how should I properly manage the application bars when fragments enter or exit?
source
share