Notice that the new fab for creating new games is not part of the side menu. For this reason, some changes were introduced for the navigating between fragments (Do not assume we will always click on a menu item to move in between fragments), but there are still a few changes to be made. For instance, the map item is still selected when we move to the new Create Game fragment.
Also, consider refactoring the visibility checks so that visibility is decided on onCreate() instead of doing it when replacing fragments or when a back press happens, since this will make the code more scalable and reduce the amount of places where we check whether we should enable the visibility of certain objects.
Notice that the new fab for creating new games is not part of the side menu. For this reason, some changes were introduced for the navigating between fragments (Do not assume we will always click on a menu item to move in between fragments), but there are still a few changes to be made. For instance, the map item is still selected when we move to the new Create Game fragment.
Also, consider refactoring the visibility checks so that visibility is decided on onCreate() instead of doing it when replacing fragments or when a back press happens, since this will make the code more scalable and reduce the amount of places where we check whether we should enable the visibility of certain objects.