Imagine
An simple image gallery app utilizing Unsplash API to showcase modern Android development architecture (MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + mockK + Espresso + Junit)
File Explorer
Download Latest Version (.zip)- deploy-to-play.yml
- firebase-distribute-workflow.yml
- pr_worklow.yml
- unit_tests.yml
- ci-gradle.properties
- dependabot.yml
- ExampleInstrumentedTest.kt
- PhotosAdapter.kt
- TagsAdapter.kt
- BaseActivity.kt
- BaseFragment.kt
- SearchPhotosResponse.kt
- ApiResponse.kt
- ApiResponseCallAdapter.kt
- ApiResponseCallAdapterFactory.kt
- CoroutinesSuspensions.kt
- ResponseTransformer.kt
- UnsplashApiService.kt
- ImagineRepository.kt
- ImagineRepositoryImpl.kt
- FetchPopularPhotosUsecase.kt
- SearchPhotosUsecase.kt
- DataResource.kt
- DataState.kt
- NetworkApiModule.kt
- RepositoryModule.kt
- PhotoModel.kt
- PhotoUrlsModel.kt
- TagModel.kt
- UserModel.kt
- HomeFragment.kt
- HomeUiState.kt
- HomeViewModel.kt
- PhotoDetailsFragment.kt
- PhotoDetailsUiState.kt
- PhotoDetailsViewModel.kt
- MainActivity.kt
- AppConstants.kt
- StringUtils.kt
- TheKtx.kt
- ImagineApp.kt
- ic_baseline_bedtime_24.xml
- ic_baseline_search_24.xml
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- activity_main.xml
- home_fragment.xml
- photo_details_fragment.xml
- photo_item_layout.xml
- tag_item_layout.xml
- menu_main.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- main_nav_graph.xml
- colors.xml
- strings.xml
- themes.xml
- colors.xml
- themes.xml
- AndroidManifest.xml
- ApiAbstract.kt
- ApiUtil.kt
- ApiResponseTest.kt
- UnsplashApiServiceTest.kt
- ImagineRepositoryImplTest.kt
- FetchPopularPhotosUsecaseTest.kt
- SearchPhotosUsecaseTest.kt
- HomeViewModelTest.kt
- ExampleUnitTest.kt
- MainCoroutinesRule.kt
- photos_list_response.json
- search_photos_response.json
- MockTestUtil.kt
- .gitignore
- build.gradle
- google-services.json
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- Imagine-UnitTests.PNG
- PhotoDetailsDay.png
- PhotoDetailsNight.png
- PopularPhotosDay.png
- PopularPhotosNight.png
- SearchResultsDay.png
- SearchResultsNight.png
- copyright.kt
- .gitignore
- build.gradle
- Dangerfile
- Gemfile
- gradle.properties
- gradlew
- gradlew.bat
- Imagine-App.apk
- LICENSE
- README.md
- settings.gradle
# Installation Guide
1. Get the code
git clone https://github.com/wajahatkarim3/Imagine
Downloads the entire project code from GitHub to your computer.
cd Imagine
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd app
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
3. Ruby
EasyPrerequisites
bundle install
Installs the Ruby libraries listed in the Gemfile.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
// repository documentation
Was this content helpful?
(0 ratings)
