예제 #1
0
 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);
   }
 }
예제 #2
0
 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);
   }
 }