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.upcomingmovies; // ww w. j a v a 2 s . c o m import com.jlmd.android.newfilmsmvp.domain.model.Movie; import java.util.List; /** * @author jlmd */ public interface UpcomingMoviesApi { static final String BASE_URL = "https://api.themoviedb.org/3/movie"; static final String API_KEY = "XXX"; void getUpcomingMovies(Callback callback); public interface Callback { void onFinish(List<Movie> movies); void onError(String errorMessage); } }