Refactoring Legacy Code in Android
Use Room and Fix Errors
Autoplay
Up next
Previous
About
We start by fixing compile errors and layout issues. We'll then add the ViewModel to MainFragment and use the code we wrote over the past few lessons.
Instructor
Links
Comments
Lessons in Refactoring Legacy Code in Android
1. Clone Minimal-ToDo And Prepare for Updates
01:59
2. Prepare the App for Updates

01:54
3. Fix "Compilation Not Supported" Error

00:49
4. Clean up onViewCreated

02:30
5. Clean up the rest of MainFragment

Pro
02:44
6. Use Room to Save Items

Pro
03:30
7. Use MVVM Architecture

Pro
03:23
8. Use Room and Fix Errors

Pro
03:59
9. Extract Adapter and ViewHolder

Pro
03:22
10. Remove Alarms from MainFragment

Pro
02:31
11. Remove SharedPreferences from MainFragment

Pro
04:11
12. Final Cleanup

Pro
02:49

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty