Android Open Source - MovieSearchVolley Movies List






From Project

Back to project page MovieSearchVolley.

License

The source code is released under:

MIT License

If you think the Android project MovieSearchVolley listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.MovieSearchVolley;
/* ww w. j a  v a 2s . co m*/
import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: tomek
 * Date: 8/22/13
 * Time: 6:54 PM
 * To change this template use File | Settings | File Templates.
 */
public class MoviesList {
    private int page;
    private ArrayList<ResultMovie> results;
    private int total_pages;
    private int total_results;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public ArrayList<ResultMovie> getResults() {
        return results;
    }

    public void setResults(ArrayList<ResultMovie> results) {
        this.results = results;
    }

    public int getTotal_pages() {
        return total_pages;
    }

    public void setTotal_pages(int total_pages) {
        this.total_pages = total_pages;
    }

    public int getTotal_results() {
        return total_results;
    }

    public void setTotal_results(int total_results) {
        this.total_results = total_results;
    }

    class ResultMovie {
        private boolean adult;
        private String backdrop_path;
        private int id;
        private String original_title;
        private String release_date;
        private String poster_path;
        private double popularity;
        private String title;
        private double vote_average;
        private int vote_count;

        public boolean isAdult() {
            return adult;
        }

        public void setAdult(boolean adult) {
            this.adult = adult;
        }

        public String getBackdrop_path() {
            return backdrop_path;
        }

        public void setBackdrop_path(String backdrop_path) {
            this.backdrop_path = backdrop_path;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOriginal_title() {
            return original_title;
        }

        public void setOriginal_title(String original_title) {
            this.original_title = original_title;
        }

        public double getPopularity() {
            return popularity;
        }

        public void setPopularity(double popularity) {
            this.popularity = popularity;
        }

        public String getPoster_path() {
            return poster_path;
        }

        public void setPoster_path(String poster_path) {
            this.poster_path = poster_path;
        }

        public String getRelease_date() {
            return release_date;
        }

        public void setRelease_date(String release_date) {
            this.release_date = release_date;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public double getVote_average() {
            return vote_average;
        }

        public void setVote_average(double vote_average) {
            this.vote_average = vote_average;
        }

        public int getVote_count() {
            return vote_count;
        }

        public void setVote_count(int vote_count) {
            this.vote_count = vote_count;
        }
    }
}




Java Source Code List

com.example.MovieSearchVolley.Configuration.java
com.example.MovieSearchVolley.Movie.java
com.example.MovieSearchVolley.MoviesList.java
com.example.MovieSearchVolley.SearchActivity.java