I want to list movies with omdbapi but I couldn't provide it. It returns as no movie
I want to list movies with omdbapi but I couldn't provide it. It returns as no movie. What is the problem?
My Code :
Api :
interface Api {
@GET("/")
fun getMovies(
@Query("s") s: String?,
@Query("apikey") apikey: String
): Call
@GET("/")
fun getMovieDetail(
@Query("i") i: String?,
@Query("apikey") apikey: String
): Call
}
ApiClient:
object ApiClient {
private const val BASE_URL = "http://www.omdbapi.com/"
val instances: Api by...