This week, we'll we're with Java and Android Studio to build a Hello World! app.
We cover the installation process for Java and Android studio and get ready to build.
We set up our very first Android application. It's going to be delicious.
Now that we have our project up, we open up the Android virtual device emulator and narrow down the bajillion (technical term) customization options.
We start discussing in depth the various components of our Android activity - what goes where, what does what, and see changes reflected in the emulator.
We continue our tour of Android Studio with the content.main XML file, and master the layout of our basic activity.
We quickly recap all the important features of Android Studio we've explored.
This week, we open up the hood and start digging the our code of our To-Do List application in Android Studio.
Before we start coding, it's important to know there are project files available for this Android To-Do List on Github, and how to access them.
We familiarize ourselves with a new blank project in Android Studio and prepare to start coding.
We start building Java and XML files to create our Android To-Do List.
We begin creating our first Android activity by setting up the onCreate method and linking our Java and XML.
We continue configuring our main activity by logging it in the Android Manifest.
We start adding elements to our Android application by creating and naming a toolbar.
We dig into what makes a listview work, what adaptors are, and how we're going to build our Really Cool List. And by "dig," we mean play with sharpies.
Now that we understand how listviews work, we begin using Android Studio to build ours out in both Java and XML.
We continue building a listview by creating a constructor for our string adaptor in Java.
The next step in creating our adaptor is to override the get view method, and in this lesson that is exactly what we do.
As we near the end of the week, we recap everything we've done in Android Studio in creating a listview.
In this last video for the week, we polish up our listview by adding a viewholder pattern.
This week, we're going to add the FAB (floating action button) and build in the functionality to add items into our Really Cool List.
We start adding our Floating Action Button into our application by using Android Studio's companion libraries.
We don't exactly plant seeds in the ground, but we create a bunch of XML code to define the parameters of our floating action button.
One step closer to creating the Floating Action Button, one more trip back to our old friend, Activity.Main.
We begin creating functionality for our FAB. Or at least, that's the plan.
Alfie gives you a quick note on how to straighten and pad out the lines of our list, so they look ruler perfect.
In this video, we create a text field in our FAB activity and put some of the pieces in place to add that into our To-Do List.
Do you save regularly? We're about to be able to once we add a Save Action to our FAB activity.
In this video, we begin the process of saving our text and passing it to the Really Cool List.
We continue our great item text caper, capturing the information from our Add Item Activity and logging it with our Main Activity. Stay tuned for the thrilling conclusion.
This week's grand finale, in which we take the items captured by the Add Item Activity, pass them to our Main Activity, and add them to our to-do list.
In this lesson, we build in the ability for uses to delete items from our to-do list.
Now that we have a functioning to-do list, it's time to teach our application to remember information across sessions.
The next step in storing our list is to add Gson, a Google library that converts objects into strings and back again.
We finish up setting up Gson and set the application up to load saved items when launched.
We wrap up of the course and Alfie goes over the valuable concepts that will help you build even more complex Android applications.
Already have an account?