RecyclerView అనేది స్క్రోల్చేయగలిగిన డేటా సూచీల (lists) ను సమర్థవంతంగా ప్రదర్శించడానికి ఆండ్రాయిడ్ యొక్క ప్రామాణిక భాగం. ఇది స్క్రోల్ చేసేటప్పుడు వీక్షణలను "పునర్వినియోగం" చేస్తుంది (అవాటిని పున ఉపయోగించి) ప్రతి సూచిక కోసం ఒక వీక్షణను సృష్టించే బదులుగా — ఇది సుదీర్ఘ సూచికలతో పనితీరు కోసం అవసరం.
RecyclerView ఎందుకు ముఖ్యమైనది (పునర్వినియోగ సంభావన)
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.
