android

Android Drawer and Fragment Navigation. A more “real life” scenario

Hey, I’m adding more meat into these series of fragment navigation tutorials. If you have been following my past entries you should have some knowledge on the Application Drawer design pattern and fragment navigation. If not, go and take a look at this post.

So far I have shown you how to create a very simple app: a home screen that allows to navigate to other sections via the drawer. Once you have reached one level of navigation the drawer is no longer accesible and you will have to navigate back to the home to reach it again.

Continue reading “Android Drawer and Fragment Navigation. A more “real life” scenario”

android

Android Tutorial: Drawer and Fragment navigation made easy(ier….)

Hey, this time I want to write a bit about the Drawer design pattern in Android. If you have played with this I’m sure you have faced one or more issues regarding navigation (and the fragment’s back stack). I believe this tend to happen because we are used to let Android navigate those view stacks but when you transition to fragment transactions you are forced to pay attention to this.

You will find the code for this blog post here:

https://github.com/aarcoraci/fragment-navigation-simple

Note: this article has a “part 2” that improves on this code. You should still go through this post first.

Part 2:  Android Drawer and Fragment Navigation. A more “real life” scenario

Continue reading “Android Tutorial: Drawer and Fragment navigation made easy(ier….)”