Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Jessica Soruco5,843 Points
should I erase "extends ActionBarActivity"?
I'm following your awesome tutorials with the latest version of AS without any problems, the thing is my MainActivity says:
"... extends ActionBarActivity" and the ActionBarActivity is crossed out with a line, I'm wondering should I erase this or leave it be?
Steve Hunter57,709 Points
Leave it for now - the
ActionBarActivity has become deprecated. It will work fine but you may get some Null Pointer problems later in the course. Come and shout for help if you do but for now, just carry on; you'll be fine!