Learn how to handle events and manage navigation in your Android app. This course covers the activity lifecycle, working with events using Java objects, lambda expressions, and open source libraries, sending and receiving broadcast messages, and more.
- My name is David Gassner. This course on handling the events and managing navigation and Android apps is one in a series for software developers who either are new to Android development or want a refresher on the basics. I'll first describe the activity lifecycle, what actually happens as a screen appears and disappears, and how you can handle the resulting events with java code. I'll then show you some techniques for handling events that are dispatched by buttons and other view objects, including with layout attributes, event handler objects, Java 8 lambda expressions, and the open source Butter Knife library.
I'll also show you how to send and receive broadcast messages that let you exchange notifications and data among the different tiers of your application. I'll describe how to support navigation by starting new activities with intent objects. And I'll show you how to add menus to your app, including option menus, pop-up menus, and the newer navigation drawer menus that work with material design themes. I hope this course is useful to you as you build your own Android apps and your development skills.
David also shows how to send and receive broadcast messages that let you exchange data and notifications among the different tiers of your application. He demonstrates how to work with menus and the action bar, add a navigation drawer to a layout, and tackle advanced navigation techniques. Later courses in the Essentials series concentrate on other specific skills you can master.
- Working with events
- Handling events with Java objects and lambda expressions
- Managing navigation
- Sending data to an activity
- Opening other apps with implicit intents
- Sending and receiving broadcast messages
- Working with menus and the action bar
- Adding a navigation drawer
- Advanced navigation techniques
- Removing activities from the back stack