Android Instructor (6 Week Training)

Instructor: Jamie Gant

Objectives

  • Trainees will be understand the importance of using Documentation as an Android Professional
  • Trainees will understand how to use the Android Documentation
  • Trainees will understand what SDKs(Software Development Kits) are and how to implement them
  • Trainees will understand and explore the Google Firebase SDK including Authentification, Cloud Database, Crash Analytics
  • Trainees will practice Coding problems to build their programming foundation in Kotlin
  • Trainees will use Android Studio to setup a Project

In 6 weeks you will be an Android Developer! This will be a challenge every single day during these next 30 days. With hard work and dedication, you will meet the challenge and I will help you get there. We will cover foundational and essential skills in Android development. We have a proven curriculum created by Mthree(Wiley) that has prepared 1000s of Android Developers who are working currently at huge tech companies.

DAILY CHALLENGE: What did you learn today that you didn’t know yesterday? What was hard today and how did you overcome a challenge you faced?

Android Documentation

As a professional Android developer a key skill you will have is how to reference the Documentation. In this brief example we will look through the documentation on RecyclerView. Android Documentation

Working with SDKs

Integration using SDKs (Software Development Kits) will be vital to your career as an Android Developer. One example of a useful SDK is Firebase developed by Google. Because Android is built by Google, this is a great SDK to familiarize yourself to utilize their useful tools. They have easily Authentification, Realtime Database, Crash Analystics, and more. Let’s Explore the Real Time Database.

School Pass live Real time Database on Firebase

ASSIGNMENT

Setup your own Firebase Project for this class. We will learn how to use Authentification to start. As always, the Documentation will be key. Firebase Docs.

Algorithms & Coding Foundation (30 min)

Each day we will build our coding muscles using some foundational programming skills. These concepts can be adapted across programming languages.

Today Foundation: Mutable Maps

These are your instructions for today. Open up the Kotlin web editor and complete this task


Android Studio (Creating a RecyclerView)

Check out the Android Developers Documentation for more on RecyclerView. Recycler is fundamental to becoming an Android Professional.
RecyclerView Documentation

Steps for implementing your RecyclerView

If you’re going to use RecyclerView, there are a few things you need to do. They’ll be discussed in detail in the following sections.

  • First of all, decide what the list or grid is going to look like. Ordinarily you’ll be able to use one of the RecyclerView library’s standard layout managers.
  • Design how each element in the list is going to look and behave. Based on this design, extend the ViewHolderclass. Your version of ViewHolder provides all the functionality for your list items. Your view holder is a wrapper around a View, and that view is managed by RecyclerView.
  • Define the Adapter that associates your data with the ViewHolder views.

There are also advanced customization options that let you tailor your RecyclerView to your exact needs.


STEP 1: Add Gradle Dependencies

STEP 2: Update your Activity Code

STEP 3: Create a New Layout Resource File

STEP 4: Create your Kotlin Data Class

STEP 5: Create your Adapter Class

STEP 6: Add to MainActivity

RESULTS