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 trialMustafa Ogün Öztürk
3,468 PointsReplacing AppCompatActivity with ListActivity
Hi all
When i replace AppCompatActivity with ListActivity, how can my app be backwards compatible ? Do i have any backwards compatibility issues ?
Thanks
1 Answer
Ben Jakuben
Treehouse TeacherYou'll actually want to use RecyclerViews instead of ListViews. We show ListViews in this course because, at the time it was published, ListViews were still available and still widely used, even though people were switching to RecyclerViews. Now you will want to just use RecyclerViews. In the next version of this course we will omit the material on ListViews.
That means at this video, you can switch to ListActivity and don't worry about backwards compatibility. That will be addressed when you switch things over to RecyclerViews later in the course.
varun dixit
768 Pointsvarun dixit
768 PointsBen Jakuben SIr, can you please answer this question, Replacing AppCompactActivity with ListActivity for what? My app behaves same in both cases, with AppCompactActivity and with ListActivity