// Path: app/src/main/java/com/games/boardgames/aeonsend/utils/Constants.java
// public class Constants {
//     public static final String PACKAGENAME = "com.games.boardgames.aeonsend";
//     public static final String DRAWABLEDEFTYPE = "drawable";
// 
//     // Cards table name
//     public final static String EXPANSIONTABLE = CardType.EXPANSION.getValue();
//     public final static String NEMESISTABLE = CardType.NEMESIS.getValue();
//     public final static String CHARACTERTABLE = CardType.CHARACTER.getValue();
//     public final static String GEMTABLE = CardType.GEM.getValue();
//     public final static String RELICTABLE = CardType.RELIC.getValue();
//     public final static String SPELLTABLE = CardType.SPELL.getValue();
//     public final static String[] tables = {EXPANSIONTABLE, NEMESISTABLE, CHARACTERTABLE, GEMTABLE, RELICTABLE, SPELLTABLE};
// 
//     // Extras names
//     public final static String EXTRASNUMPLAYERS = "numPlayers";
//     public final static String EXTRASCHOSENSETUP = "chosenSetup";
//     public final static String EXTRASSELECTEDEXPANSION = "selectedExpansions";
// 
//     // Refresh wait
//     public final static Integer REFRESHWAIT = 500;
// 
// }
// 
// Path: app/src/main/java/com/games/boardgames/aeonsend/listeners/OnDataPass.java
// public interface OnDataPass {
//     public void onDataPass(String name, List list);
// 
//     public void onDataPass(String name, Integer i);
// 
//     public void onDataPass(String name, MarketSetupCard card);
// 
//     public Bundle getFragmentValuesBundle();
// }
// 
// Path: app/src/main/java/com/games/boardgames/aeonsend/listeners/OnPlayersChange.java
// public interface OnPlayersChange {
//     void onPlayersChange(int number);
// }


import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.BottomSheetDialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.games.boardgames.aeonsend.R;
import com.games.boardgames.aeonsend.utils.Constants;
import com.games.boardgames.aeonsend.listeners.OnDataPass;
import com.games.boardgames.aeonsend.listeners.OnPlayersChange;
package com.games.boardgames.aeonsend.fragments;



/**
 * Created by honza on 29.9.17.
 */

public class PlayersBottomSheetDialogFragment extends BottomSheetDialogFragment {

    private TextView textView;
    private ImageView subtractImageView;
    private ImageView addImageView;
    private int numPlayers;
// Path: app/src/main/java/com/games/boardgames/aeonsend/utils/Constants.java
// public class Constants {
//     public static final String PACKAGENAME = "com.games.boardgames.aeonsend";
//     public static final String DRAWABLEDEFTYPE = "drawable";
// 
//     // Cards table name
//     public final static String EXPANSIONTABLE = CardType.EXPANSION.getValue();
//     public final static String NEMESISTABLE = CardType.NEMESIS.getValue();
//     public final static String CHARACTERTABLE = CardType.CHARACTER.getValue();
//     public final static String GEMTABLE = CardType.GEM.getValue();
//     public final static String RELICTABLE = CardType.RELIC.getValue();
//     public final static String SPELLTABLE = CardType.SPELL.getValue();
//     public final static String[] tables = {EXPANSIONTABLE, NEMESISTABLE, CHARACTERTABLE, GEMTABLE, RELICTABLE, SPELLTABLE};
// 
//     // Extras names
//     public final static String EXTRASNUMPLAYERS = "numPlayers";
//     public final static String EXTRASCHOSENSETUP = "chosenSetup";
//     public final static String EXTRASSELECTEDEXPANSION = "selectedExpansions";
// 
//     // Refresh wait
//     public final static Integer REFRESHWAIT = 500;
// 
// }
// 
// Path: app/src/main/java/com/games/boardgames/aeonsend/listeners/OnDataPass.java
// public interface OnDataPass {
//     public void onDataPass(String name, List list);
// 
//     public void onDataPass(String name, Integer i);
// 
//     public void onDataPass(String name, MarketSetupCard card);
// 
//     public Bundle getFragmentValuesBundle();
// }
// 
// Path: app/src/main/java/com/games/boardgames/aeonsend/listeners/OnPlayersChange.java
// public interface OnPlayersChange {
//     void onPlayersChange(int number);
// }


// Path: app/src/main/java/com/games/boardgames/aeonsend/fragments/PlayersBottomSheetDialogFragment.java
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.BottomSheetDialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.games.boardgames.aeonsend.R;
import com.games.boardgames.aeonsend.utils.Constants;
import com.games.boardgames.aeonsend.listeners.OnDataPass;
import com.games.boardgames.aeonsend.listeners.OnPlayersChange;

package com.games.boardgames.aeonsend.fragments;



/**
 * Created by honza on 29.9.17.
 */

public class PlayersBottomSheetDialogFragment extends BottomSheetDialogFragment {

    private TextView textView;
    private ImageView subtractImageView;
    private ImageView addImageView;
    private int numPlayers;
    private OnDataPass dataPasser;