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! While you're at it, check out some resources Treehouse students have shared here.
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 trialJason Anders
Treehouse Moderator 145,860 PointsCasting Error (or lack of)
I'm using Android Studio 3.0 Beta 2 (released August 10, 2017). When I assign the factTextView
I do not receive the error seen in the video. In fact, if I do cast to TextView
I get a warning that
casting findViewById(R.id.factTextView) to TextView is redundant
edit: same for assigning the Button. No error, and the "redundant" message when I do.
Ben Deitch ... just an FYI for maybe a "Callout" or a Teacher's note.
Ben Deitch
Treehouse TeacherBen Deitch
Treehouse TeacherO fun... I love when things change right after we release something :). I've added a note about it in the Teacher's Notes, and we'll try to get a more permanent fix before too long. Thanks for the heads up!