How to create an android app with jetpack compose for fetching Mars Rover Photos from NASA's api?
Well, I already have had api and created the app but it didn't work. The app keep stopping.
I try it in many ways and maybe there's an error or a lack of something I don't know. If you know it, Please tell me.Here's my code:
package com.example.redplanetview.utils
import com.example.redplanetview.data.MarsApiService
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object ApiConstants {
private const val BASE_URL = "https://api.nasa.gov"
const val...