A beautifully designed recipe app created with XML for the UI and Kotlin for the logic.
-
Fork the repository
-
Register API key on Spoonacular API.
-
Create a new propeties file
api_keys.properties
-
Add the recipe key as:
RECIPE_API_KEY = key
inapi_keys.properties
val apiKeysFile = project.rootProject.file("api_keys.properties") val properties = Properties() properties.load(apiKeysFile.inputStream()) val recipeApiKey = properties.getProperty("RECIPE_API_KEY") buildConfigField("String", "RECIPE_API_KEY", recipeApiKey)
-
Sync and build project
- Kotlin
- Retrofit for network calls
- Moshi for json deserialization
- Room for local caching of weather data
- Fix the Saved and Like button functionality
- Improve
Search
functionality