RecyclerView हा स्क्रोल करण्यायोग्य डेटा यादी कुशलतेने प्रदर्शित करण्यासाठी मानक Android घटक आहे. हे व्यू "पुनर्चक्र" करते (स्क्रोल करताना त्यांची पुनरावृत्ती करते) प्रत्येक आयटमसाठी व्यू तयार करण्याऐवजी — लांब यादीसाठी कार्यक्षमतेसाठी आवश्यक.
हे महत्वाचे का आहे
Displaying a long list naively (a view per item) is WASTEFUL — thousands of items =
thousands of views = memory/performance problems.
RECYCLERVIEW reuses a small pool of views:
→ only views for VISIBLE items exist; as you scroll, off-screen views are RECYCLED
(re-bound with new data) for newly-visible items
→ constant memory regardless of list size → smooth, efficient scrolling
→ This recycling is the key to performant lists.
