Refactoring Legacy Code in Android
Fix "Compilation Not Supported" Error
Autoplay
Up next
Previous
About
If you are getting a "compilation not supported" error, follow these steps to get it working again. StackOverflow answer here: https://stackoverflow.com/a/49397748
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