Skip to content

This Trivia application is developed using Jetpack Compose. The questions in JSON format are fetched from an API using the Retrofit library. The MVVM architecture is employed. Flow technology is utilized for data flow. Dependency Injection is implemented using the Hilt library. The Singleton Design Pattern is used.

Notifications You must be signed in to change notification settings

muameh/JetTrivia

Repository files navigation

JetTrivia - A Trivia Quiz App

Overview

JetTrivia is a fully functional trivia quiz application developed using Jetpack Compose, designed to test your knowledge on various topics, with a special focus on "World History". The app fetches questions from a remote API and presents them in an engaging and user-friendly interface.

Features

  • Dynamic Question Fetching: Fetch trivia questions in JSON format from a REST API using the Retrofit library.
  • User Interaction: Users can select answers using radio buttons, and immediate feedback is provided on their selections.
  • Progress Tracking: Visual indicators show the user's current progress and total questions available.
  • Scoring System: Keep track of the user's score based on the number of correct answers.
  • Responsive Design: Designed with a responsive layout to support different screen sizes and orientations.
  • Animations: Smooth transitions between questions enhance the overall user experience.
  • Error Handling: User-friendly error messages are displayed in case of network issues or API errors.
  • Accessibility Support: Enhanced accessibility features to support all users, including those with visual impairments.

Technologies Used

  • Jetpack Compose: For building the UI with a modern declarative approach.
  • Retrofit: For making network requests to fetch trivia questions.
  • MVVM Architecture: To separate concerns and improve code maintainability.
  • Hilt: For dependency injection to manage the app's architecture effectively.
  • Flow: For reactive data handling and state management.

Getting Started

To run the app locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/muameh/JetTrivia.git
    
    

Screenshot_1728457618 Screenshot_1728457645 Screenshot_1728457687 Screenshot_1728457700

About

This Trivia application is developed using Jetpack Compose. The questions in JSON format are fetched from an API using the Retrofit library. The MVVM architecture is employed. Flow technology is utilized for data flow. Dependency Injection is implemented using the Hilt library. The Singleton Design Pattern is used.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages