This is the official sample application for DpadRecyclerView, an open-source library designed specifically for building efficient and navigable user interfaces on Android TV. This app serves as a technical demonstration for developers to test, verify, and explore the capabilities of the DpadRecyclerView library as a modern replacement for Leanback's BaseGridView and an alternative to Compose layouts.
Target Audience: Android TV Developers, Kotlin & Jetpack Compose UI Engineers, Open Source Contributors
Key Features Demonstrated: This sample showcases the core functionality of the library, allowing developers to interact with the following features directly on their Android TV devices:
Leanback Replacement: Demonstrates how to achieve high-performance grids and lists without the legacy Leanback library dependency.
Jetpack Compose Interoperability: Examples of using DpadComposeViewHolder to integrate Compose UI seamlessly within RecyclerViews.
Advanced Focus Management: Visualizes focus handling, including OnViewHolderSelectedListener, sub-position selection, and task-aligned scrolling.
Custom Alignment: Explore different edge alignment preferences, custom scrolling speeds, and parent-child alignment configurations.
Grid Layouts: View implementations of grids with uneven span sizes and complex layout structures.
Additional UI Utilities: Includes demos for Fading Edges, Scrollbars, Reverse Layouts, and Drag & Drop functionality on D-pad interfaces.
Open Source DpadRecyclerView is open-source software licensed under the Apache 2.0 License. This sample allows you to preview the code behavior before integrating the library into your own production applications.
The source code for this sample and the full library documentation are available on GitHub at https://github.com/rubensousa/DpadRecyclerView
Disclaimer: This app contains sample placeholder data (images and text) used solely for layout demonstration purposes. It does not provide actual video streaming content or media services.