Fhotos is a simple Android application written in Kotlin that showcases Android Architecture Components, Dagger, and MVVM. The app allows users to search for images using the Unsplash API and displays the results in a RecyclerView. Upon clicking on a particular item, the app opens a fragment with more details about the selected image.
Download
Android |
---|
- Image search using the Unsplash API
- RecyclerView displaying search results
- Fragment details on clicking a particular item
- Kotlin: The programming language for Android app development
- Android Architecture Components: Including ViewModel, LiveData, and Room for implementing the MVVM pattern
- Dagger: A dependency injection framework for managing dependencies
- Unsplash API: Provides access to a vast collection of high-quality images
Follow the instructions below to get a copy of the project up and running on your local machine.
- Android Studio: The latest version of Android Studio must be installed on your machine.
- Unsplash API Access: Obtain an API access key from Unsplash by creating an account.
-
Clone the repository: git clone https://github.com/your-username/unsplash-image-search-app.git
-
Open Android Studio and select "Open an existing project".
-
Navigate to the cloned repository and select the project.
-
In the project, create a
local.properties
file and add your Unsplash API access key: unsplashAccessKey="YOUR_API_ACCESS_KEY" -
Build and run the project on an Android device or emulator.
Contributions to the Unsplash Fhotos project are welcome. If you find any issues or want to enhance the app with new features, feel free to submit a pull request.
- Unsplash: The Unsplash Fhotos utilizes the Unsplash API for fetching high-quality images.