Kotlin: Working with Intents, Activities, & Fragments
Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. Intents, activities, and fragments are essential components in Android development as they enable seamless navigation between screens, facilitate modular and reusable code structures, and allow for efficient communication and data transfer within an Android application.
In this course, we will begin by exploring the functionality of intents in Android applications. Through hands-on exercises, we will learn to navigate between activities using intents, incorporating both implicit and explicit intents. We will also leverage intents to direct users to external web pages, enhancing the flow and navigation within our applications.
Next, we will delve into advanced techniques in Android app development. We will set up the user interface for a reservations app and utilize intents to navigate to the reservations page, implementing view manipulation code to accept and display reservations. We will create view binding objects to streamline the process of accessing views. Additionally, we will use data binding to specify data directly within XML layouts for seamless integration. Then we will enhance list handling capabilities by leveraging RecyclerView.
Finally, we will modularize our app by dividing it into fragments and pass input arguments to fragments for customization.
We will learn to dynamically add and replace fragments using the fragment manager and fragment transactions and explore backstack management, enabling smooth back navigation within our app. To facilitate effective communication between activities and fragments, we will utilize ViewModel architecture, enhancing data exchange and interaction.