Skip to content

Latest commit

 

History

History
134 lines (114 loc) · 4.71 KB

README.md

File metadata and controls

134 lines (114 loc) · 4.71 KB

QuranAppCoroutine 📖

LinkedIn Badge

This repository contains a quran app that implements Coroutines , mvvm architecture , clean architecture , navigation component , hilt , etc.... using kotlin language

App Overview

  • this screen view all surahs in quran

  • this screen view surah the user selected it

Built With 🛠

Project Structure

myquran      
├── data       
│   ├── di                  
|   │   └── module        
|   |       ├──RepositoryModule.kt
|   |       ├──NetworkModule.kt
|   |       ├──CoroutinesModule.kt
|   |       └──SurahApiModule.kt
|   |
│   ├── repositories         
|   |   └──SurahRepositoryImpl.kt
|   |
|   |
|   ├── models          
|   |   └──VerseModel.kt 
|   |
|   |
|   ├── sources    
|   │   └── remote
|   |       ├──dataSource
|   |       |    └──SurahRemoteDataSource.kt
|   |       ├──endPoints
|   |       |    └──SurahApiService.kt
|   |       └──responseModels
|   |           ├──BaseApiResponse.kt
|   |           ├──SurahDetailsResponse.kt
|   |           └──SurahModeResponse.kt
|   | 
|   |
|   |── utils
|   |   └──ErrorHandlerImpl.kt 
|   |
|   |    
|── domain 
|   ├──models
|   |   ├──SurahDetailsModel.kt
|   |   ├──SurahModel.kt
|   |   └──VerseModel.kt
|   |
|   |──repositories
|   |  └──SurahRepository.kt
|   |
|   |──usecases
|   |  ├──GetAllSurahUseCase.kt
|   |  └──GetSurahDetailsUseCase.kt
|   |
|   |──utils
|   |  └──ErrorHandler.kt
|
|
├── presentation                      
│   ├── homeScreen
|   |   ├──uiStates
|   |   |   ├──SurahItemUiState.kt
|   |   |   └──SurahUiState.kt
|   |   ├──HomeFragment.kt
|   |   ├──HomeViewModel.kt
|   |   └──SurahAdapter.kt
|   |
│   ├── surahDetailsScreen
|   |   ├──uiState
|   |   |   ├──SurahDetailsUiState.kt
|   |   |   ├──SurahInfoUiState.kt
|   |   |   └──VerseItemUiState.kt
|   |   ├──SurahDetailsFragment.kt
|   |   ├──SurahDetailViewModel.kt
|   |   └──VerseAdapter.kt
|
|
├──MainActivity.kt
└──Application.kt

LICENSE


Copyright (c) 2022 adelayman1

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.```