Fragment Operations in Kotlin

Introduction to Fragments
1h 33m

This course explores fragment operators in Kotlin. You'll learn about the different types of fragments and how you can use them.

Learning Objectives

  • Understand the basics of fragments, including where and why we use them
  • Learn how to create them
  • Learn how to change fragments inside an activity with another fragment
  • Learn about fragment backtrack, list fragments, and dialog fragments

Intended Audience

This course is intended for anyone who wants to learn how to start building their own apps on Android.


To get the most out of this course, you should have some basic knowledge of the fundamentals of Android.


Hello everyone. So, in this video, we are going to introduce fragments. So, by the end of this section you will have learned some interesting details and all the information that you'll need to know about fragments. So, we're going to breakdown fragments in five different parts. First, we're going to learn just, what is a fragment?

How to create it? And we'll also give some information about where to use fragments and why they are used. Also, show you some practical information about how to create fragments in Android Studio. Then we're going to focus on how to change fragments on Activity. So, in other words, we're going to learn how to change the fragment inside the Activity with another fragment. And that's pretty cool, it's dynamic. Then we're going to deal with the fragment Backstack. Now, this is a whole topic unto itself because there's something called a List Fragment. And briefly we're going to talk about what a List Fragment is. But then, we're going to get into the nitty-gritty details and figure out how it works altogether.

Then lastly, we're going to dig into what's called a Dialog Fragment, reserving that to the very end because we're going to work with all of the fragments and their details to get that together and you'll see why. Alright. So, why don't we just dig in, get started, and let's have some fun.

About the Author
Learning Paths

Mehmet graduated from the Electrical & Electronics Engineering Department of the Turkish Military Academy in 2014 and then worked in the Turkish Armed Forces for four years. Later, he decided to become an instructor to share what he knew about programming with his students. He’s currently an Android instructor, is married, and has a daughter.

Covered Topics