I have some task to create one action with two fragments. In the first fragment there is a simple toolBar with a title and one user button at the end (ImageView), in the second I need a back button, search with functionality and a name. What is the best way to implement this? Create a toolBar in action and change it depending on the status or create a toolbar in each fragment? If someone already has such an implementation in the code, I will be grateful for watching it.
thank
source
share