}
private static ArrayList<InputOption> getSubCategory(String option) {
ArrayList<InputOption> categoryOption = new ArrayList<InputOption>();
if (option.equals("option1")) {
categoryOption.add(new InputOption("", "", false, "opt1-sub1"));
categoryOption.add(new InputOption("", "", false, "opt1-sub2"));
categoryOption.add(new InputOption("", "", false, "opt1-sub3"));
} else if (option.equals("option2")) {
categoryOption.add(new InputOption("", "", false, "opt2-sub1"));
} else if (option.equals("option3")) {
categoryOption.add(new InputOption("", "", false, "opt3-sub1"));
categoryOption.add(new InputOption("", "", false, "opt3-sub2"));
}
return categoryOption;
}