Closed elgrangrifon45 closed 9 years ago
Agree with the Points. Regarding bullet number 4: Why I haven't used onTabUnselected is that the SignUp and the Login don't use the ActionBar. For displaying and hiding those fragements we would have needed an other solution anyway to hide the currently displayed Fragment. That's why I decided to implement the hideFragment() method, which allows to hide the currently shown Fragment from whereever in the code you are. Does this make sens?
I think i get it now, so onTabUnselected would be useless there, you're right.
Closing this. Everything done, discussed or externalized ot a different issue.
As a result of the app's code Review, the following things could be refactored:
44 Instead of using a String as the key in the FragmentMap, use Constants or even Enums