private void showSearchProgram() { // check network and data loading if (Util.GetNetworkInfo(getActivity()) == 99) { Util.AlertShow(getActivity()); } else { search = getArguments().getString("search"); new SearchProgramAsyncTask().execute(search); } }
private void showProduct() { // check network and data loading if (Util.GetNetworkInfo(getActivity()) == 99) { Util.AlertShow(getActivity()); } else { String url = UrlAddress.Channel.getGetChannelProduct(selectedAreaCode); new ProductAsyncTask().execute(url); } }