Back to project page UpcomingMoviesMVP.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Defi...
If you think the Android project UpcomingMoviesMVP listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jlmd.android.newfilmsmvp.api.moviedetails; /*from w ww. j a va2 s. c om*/ import com.jlmd.android.newfilmsmvp.domain.model.MovieDetails; /** * @author jlmd */ public interface MovieDetailsApi { static final String BASE_URL = "https://api.themoviedb.org/3/movie"; static final String API_KEY = "XXX"; void getMovieDetails(int movieId, Callback callback); public interface Callback { void onFinish(MovieDetails movieDetails); void onError(String errorMessage); } }