Skip to content

Latest commit

 

History

History
99 lines (68 loc) · 2.92 KB

File metadata and controls

99 lines (68 loc) · 2.92 KB

📺 Android TV App Development Using Leanback Library | Leanback Framework | Kotlin | Compose TV App

App Logo


📖 About Project

This project is a sample Android TV application built using Kotlin and the Leanback Library, specially designed for beginners who want to learn Android TV app development.

The project demonstrates how to build a modern Android TV UI using official Leanback components recommended by Google.
The complete explanation of this project is available in Hindi through a YouTube tutorial.


🎯 What You Will Learn

  • Android TV fundamentals
  • Leanback Library usage
  • Row-based and Grid-based TV UI
  • Focus handling & D-Pad navigation
  • Login and Video Details screen implementation
  • Clean Kotlin code structure for Android TV

🧩 Leanback Components Used

  • BrowseSupportFragment
  • RowsSupportFragment
  • VerticalGridSupportFragment
  • RowSupportFragment
  • ListRowPresenter
  • ArrayObjectAdapter
  • Presenter
  • HeaderItem
  • RecyclerView
  • ConstraintLayout
  • FragmentActivity

📱 App Features

  • 📌 Video listing using Leanback rows and grids
  • 📌 Smooth TV-optimized UI
  • 📌 Login screen implementation
  • 📌 Video Details screen inspired by real Android TV apps
  • 📌 Proper remote (D-pad) navigation support

📂 Screen & File Mapping (Important)

Below is the mapping of UI screens to their respective Kotlin implementation files for easy understanding:

  • 🎬 Video Main CardVideoMainFragment.kt
  • 📂 Category Video CardCategoryVideoMainFragment.kt
  • 🧩 Video Grid CardVideoGridFragment.kt
  • 📜 RecyclerView Main CardRecycleMainFragment.kt
  • 🔐 Login PageLoginFragment.kt
  • ▶️ Video Details PageVideoDetailsActivity.kt

📌 This structure helps beginners easily locate and understand how each screen is implemented in the project.


🖼️ App Screenshots

Main Screens

BrowseSupportFragment RowsSupportFragment VerticalGridSupportFragment
List using RecyclerView Login Page Video Details Screen

🛠 Tech Stack

  • Language: Kotlin
  • UI: Leanback Library
  • Architecture: Fragment-based
  • Platform: Android TV
  • Build Tool: Gradle

⚙️ How to Run the Project

  1. Clone the repository:
     git clone https://github.com/Dinesh2510/Android-TV-Development-Using-the-Leanback-library