Welcome to the Treehouse Community
Looking to learn something new?
Wilson Liu5,877 Points
setNavigationMode deprecated in API 21
Hi, I am using android studio and API 21 to follow this course. I found some navigation is deprecated. Should I make a fix or ignore them? Thanks.
final ActionBar actionBar = getSupportActionBar(); //It shows deprecated!! actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
This is part of a larger issue this this app/class. Yes you can just continue and ignore, but I would recommend changing your support library in cradle to v4 19.1.+
This will mean changing theme to holo instead of appCompat and a few other imports but it will help you follow the class in the long run.