Book Image

Firebase and Android Pie [Video]

By : Brandan Jones
Book Image

Firebase and Android Pie [Video]

By: Brandan Jones

Overview of this book

<p><span id="description" class="sugar_field">Would you like to learn Android development quickly, by building a complete working application for Android P? This course does exactly that. It shows you, step-by-step, how to build a complete, working Android P application.</span></p> <p><span id="description" class="sugar_field">Start by building a real-world application. Store your favorite keyboard shortcuts of the day by building a favorite shortcut app. You'll learn how to build a UI, set up cloud data synchronization, issue notifications, and much more. Discover the latest innovations in app development ranging from creating, testing, and deploying. </span></p> <p><span id="description" class="sugar_field">By the end of the course, you'll have gained a hands-on experience and will be able build any real-world application. If you know a little Java, this fast, friendly course will get you started developing apps for the latest version of Android.</span></p> <p><span id="description" class="sugar_field">The code bundle for this course is available at: <a href="https://github.com/PacktPublishing/Firebase-and-Android-P" target="_new">https://github.com/PacktPublishing/Firebase-and-Android-P</a></span></p> <h1><span class="sugar_field">Style and Approach</span></h1> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">In this course, you will learn what's new in the latest version of Android with real code examples. You'll build an app where users can submit shortcuts and then receive notifications of shortcuts that others have suggested.<br /></span></span></p>
Table of Contents (7 chapters)
Chapter 3
Firebase
Content Locked
Section 5
Create an Event Listener for Firebase Changes
In this video, we will create the code to listen for changes on the Firebase real-time database, and then we step through an example in the debugger. - addValueEventListener to a DatabaseReference - Implement onDataChange method to listen for changes - Receive a DataSnapshot, and show the value in a Toast