// Path: app/src/main/java/com/hitanshudhawan/popcorn/network/movies/Genre.java
// public class Genre {
// 
//     @SerializedName("id")
//     private Integer id;
//     @SerializedName("name")
//     private String genreName;
// 
//     public Genre(Integer id, String genreName) {
//         this.id = id;
//         this.genreName = genreName;
//     }
// 
//     public Integer getId() {
//         return id;
//     }
// 
//     public void setId(Integer id) {
//         this.id = id;
//     }
// 
//     public String getGenreName() {
//         return genreName;
//     }
// 
//     public void setGenreName(String genreName) {
//         this.genreName = genreName;
//     }
// }


import com.hitanshudhawan.popcorn.network.movies.Genre;
import java.util.HashMap;
import java.util.List;
package com.hitanshudhawan.popcorn.utils;



/**
 * Created by hitanshu on 13/8/17.
 */

public class MovieGenres {

    private static HashMap<Integer, String> genresMap;

    public static boolean isGenresListLoaded() {
        return (genresMap != null);
    }

// Path: app/src/main/java/com/hitanshudhawan/popcorn/network/movies/Genre.java
// public class Genre {
// 
//     @SerializedName("id")
//     private Integer id;
//     @SerializedName("name")
//     private String genreName;
// 
//     public Genre(Integer id, String genreName) {
//         this.id = id;
//         this.genreName = genreName;
//     }
// 
//     public Integer getId() {
//         return id;
//     }
// 
//     public void setId(Integer id) {
//         this.id = id;
//     }
// 
//     public String getGenreName() {
//         return genreName;
//     }
// 
//     public void setGenreName(String genreName) {
//         this.genreName = genreName;
//     }
// }


// Path: app/src/main/java/com/hitanshudhawan/popcorn/utils/MovieGenres.java
import com.hitanshudhawan.popcorn.network.movies.Genre;
import java.util.HashMap;
import java.util.List;

package com.hitanshudhawan.popcorn.utils;



/**
 * Created by hitanshu on 13/8/17.
 */

public class MovieGenres {

    private static HashMap<Integer, String> genresMap;

    public static boolean isGenresListLoaded() {
        return (genresMap != null);
    }

    public static void loadGenresList(List<Genre> genres) {