/RecyclerViewExample

a sample android project showcasing recyclerview with data transfer and singleton pattern

Primary LanguageKotlin

RecyclerView Example

This project showcases how to use RecyclerView for dynamic lists in Android, along with data transfer and the Singleton pattern.

Screenshots

Main Screen and Hero Detail Screen

Main Screen Hero Detail Screen

Features

  • RecyclerView: Efficiently displays lists of items.
  • Model: Defines the structure of the data.
  • RecyclerView UI: Custom layout for displaying items.
  • Adapter: Connects data with the RecyclerView.
  • Promotion Activity: Shows details of the selected item.
  • Data Transfer: Demonstrates the use of Intents.
  • Singleton Pattern: Manages shared data across activities.

How to Use

  1. Clone or download the repository.
  2. Open the project in Android Studio.
  3. Sync dependencies and build the project.
  4. Run the app to explore its features.