A simple "Wallpapers" app that finds and displays photos from the Pexels API
The app tries to respect the instructions given by the Pexels API, which means that the application cannot have the functionality of downloading or replicating any function of the page. Every time the user selects an image, an Intent will be activated and will open the default browser, taking them to see the information about the photo and the creator to give them credit, in turn they will be able to download the image from the official Pexels page.
The app has two screens:
- The main screen that will obtain photos sequentially thanks to the Paging 3 library.
- And the search screen, like the main screen, will obtain the photos as long as a Query is provided in the search engine. Also the search bar offers a "false" history.
Note
The app does not support dark mode.
Important
In order to use the app from the Android Studio emulator you will need an Api Key or Authorization that you can obtain by registering on the Pexels page.
Once you obtain the key, you will need to place your "local.properties" file with the name "AUTHORIZATION". Then rebuild the project and start the application.
Tip
Don't want to do all the above configuration? The following link contains the Apk to download and test it directly on a physical or emulated device.
The type of architecture used for this project was MVVM(Model-View-ViewModel).
This is divided into the:
- Model: Which represents the data and business logic
- View: Which represents the UI
- ViewModel: Which represents the bridge between the View and the Model
- Kotlin
- Jetpack
- Material Ui 3
- Coil
- Lottie
- Retrofit
Splash Screen | Main Screen | Search Main |
---|---|---|
Search History | Searched Query | After Click |
---|---|---|