Walk through implementing LoginActivity.
- [Instructor] So now, let's talk about how to organize…our code for Firebase authentication.…We currently have one activity, MainActivity.…We could put all of our authentication code…into this one activity,…however, then MainActivity becomes responsible…for more than one thing.…I want to maintain a separation of concerns…and follow the single responsibility principle,…which says that each class that we create and write…should be responsible for one thing…or have a singular purpose.…
So let's begin by modifying MainActivity.…MainActivity currently extends…a normal Android activity class.…We will change this to extend a new activity class…called FirebaseActivity.…Any Firebase related activity, such as authentication…or remote configuration,…will be carried out in the FirebaseActivity.…So that means that now MainActivity can continue…with its current set of responsibilities unchanged.…
So now, let's create the FirebaseActivity.…Before we do that, let's add a Gradle Dependencies.…So we go into the app module's Gradle Build file…
- Configuring Android Studio
- Getting started with Fabric.io
- Preparing for Fabric.io release
- Deploying to Fabric.io Beta
- Testing beta deployment
- Setting up Fabric.io Answers
- Defining and implementing the analytics model
- Defining interfaces for analytics
- Defining and implementing the analytics trackers
- Implementing the analytics client
- Setting up a Firebase console
- Testing Firebase authentication
- Implementing and verifying remote configuration
Skill Level Intermediate
Android App Development: Unit Testingwith James P White2h 59m Intermediate
Google Firebase for Android: First Lookwith Joe Marini1h 16m Intermediate
1. Crash Reporting
2. Crashlytics Beta for Beta Deployment
3. Use Analytics
4. Firebase Authentication
5. Firebase Remote Configuration
Next steps1m 40s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.