Skip to main content

Android Fragments

Department of Information and Communications Technology
Enrollment in this course is by invitation only

Course Overview

Android was first launched in 2008 by Google and since then, the platform evolved into many different versions and it is widely used nowadays by millions of smartphones. Android developers were needed more as different versions came out, as well as different integrations for newer smartphone hardware.

This course will mainly focus on one part of Android Development, which is Android Fragments. The course will generally discuss what, how, and why are fragments used in an android application. Included in this course is the testing and debugging of fragments so that we can make sure that each one is working as intended.

What You Will Learn

At the end of this course, you will be able to:

  • demonstrate knowledge on how to create fragments
  • animate and navigate from fragments to another fragments
  • debug and demonstrate on testing fragments

Course Instructor

Course Staff Image #1

Carlo Poblete

Subject Matter Expert

Course Content

Week 1: Android Fragments Introduction

14 Videos | 2 Activities

14 Videos

  • Welcome to the course!
  • Demo on the Installation of Android Studio
  • Characteristics of a Fragment
  • Lifecycle and Fragment Manager
  • Fragment Lifecycle States and Callbacks
  • Create a Fragment Class
  • Fragment Manager
  • Using the FragmentManager
  • Finding an Existing Fragment
  • FragmentTransactions
  • Creating a DialogFragment
  • Android Fragment Demonstration
  • Creating Buttons
  • Summary

2 Activities

  • Recall Activity
  • Exit Assessment

Week 2: Deep Dive Into Fragments

12 Videos | 2 Activities

12 Videos

  • Specifying Custom Effects
  • Setting Animation and Transition
  • Using Shared Elements Transitions
  • Saving Fragment States
  • View State, SavedState, and NonConfig
  • Communicating Between Fragments
  • Sharing Data
  • Get, Pass, and Receive Results
  • Animating Transitions
  • Hosting Activities and Passing Data
  • Communicating Fragments Using Fragment Result API
  • Summary

2 Activities

  • Recall Activity
  • Exit Assessment

Week 3: Navigation Component

13 Videos | 2 Activities

13 Videos

  • Navigation Component Characteristics and Parts
  • Navigation Dependencies, SafeArgs Plugin, and Navigation UI
  • Navigation Characteristics
  • Global Actions
  • Destination from an Existing Fragment or Activity
  • New Activity Destination
  • Dynamic Arguments
  • Conditional Navigation
  • Passing Data Using Navigation
  • Best Practices for Navigation
  • Implement Swipe Views
  • Navigation Component Demonstration
  • Summary

2 Activities

  • Recall Activity
  • Exit Assessment

Week 4: Debug and Test Fragments

10 Videos | 2 Activities

10 Videos

  • Understanding the Logs
  • Using Strict Mode
  • Types of Violations
  • Testing Fragments
  • Using Launch
  • Test Fragments in Different Lifecycle States
  • Recreating Fragments
  • Interacting with UI of the Fragment
  • Test Fragment Demonstration
  • Key Takeaways

2 Activities

  • Recall Activities
  • Exit Assessment
  1. Course Number

  2. Classes Start

  3. Classes End

  4. Estimated Effort

    2 hrs./week (8 hours)
  5. Price