Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
I don't understand anything about integrating Views, ViewHolders. Can somebody explain to me?
Abdallah Al Sayed Ali Saf529 Points
Since we are using OOP thus Views are Objects too...And so every time we inflate those view to List View ( creating the objects inside them from there corresponding xml file in case we are creating them fro a layout) we create many objects...In order to save memory we use View Holder and that's why they smooth the scroll of the list, we create the object just one time by inflating it and just by changing the variables that are changing in each item of the list and showing it to the user....