This course is designed for software developers who already have some experience building Android apps, and want to learn how to use the fragments API to make their apps adapt automatically to different screen sizes and pixel densities. To get the most out of this course, you should be at least a bit familiar with Java programming, and know how to build simple apps with Android Studio.
- [Instructor] This course is designed for software developers who already have some experience building Android apps. You'll be working in Android Studio, Google's IDE for Android app development. And you'll need to understand some basic things about working in Android, including how to layout screens with activities and layouts, and how to handle events. You'll be working with Java, and in some cases, you'll be using some advanced constructs.
If you're new to any of these subjects, you can watch these courses. Java Essential Training will help you get started with the Java programming language. Android App Development Essential Training will introduce you to those key Android concepts. And Android Studio Essential Training will help you navigate the studio environment, including its underlying IDE IntelliJ IDEA. To work with fragments, you'll need to understand how interfaces and callback methods work and how to listen for events.
This requires the use of inner classes, also know sometimes as member classes. You can learn about these concepts in the course Java Advanced Training. You'll need some software installed on your computer. You'll need the latest version of Oracle's JDK. In this course, I'm using JDK 8, but if you're watching this course later, and a later version has been released, you should be able to use that instead. I'm recording with Android Studio 2.1, and you'll need that version or later.
And the exercise apps are all build with API level 23 for Android 6.0 Marshmallow. As I'll show in the exercise files video, you'll need that API level installed on your development computer.
- Configuring Android Studio
- Understanding fragments
- Creating a fragment class and layout
- Adding and removing fragments with Java
- Creating layouts for multiple screens
- Understanding arguments and callback methods
- Passing arguments to a fragment
- Choosing layout at runtime
- Displaying dialogs with fragments
- Using fragments for managing dialogs, shared preferences, and more