From 23e00ff44bccf619f7790f8e6a2c5b1404be1549 Mon Sep 17 00:00:00 2001 From: zhangnaifu15 <1361423499@qq.com> Date: Wed, 11 Apr 2018 23:29:45 +0800 Subject: [PATCH] src\MyApplication\app\src\main\java\com\example\administrator\myapplication\adapter\BgPicGridAdapter.java src\MyApplication\app\src\main\java\com\example\administrator\myapplication\ui\AlarmAlertActivity.java --- .../administrator/myapplication/adapter/BgPicGridAdapter.java | 4 ---- .../administrator/myapplication/ui/AlarmAlertActivity.java | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java index 5ef30bc..764b347 100644 --- a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java +++ b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java @@ -35,26 +35,22 @@ public class BgPicGridAdapter extends BaseAdapter { @Override public int getCount() { - // TODO Auto-generated method stub return bgList.size(); } @Override public Object getItem(int position) { - // TODO Auto-generated method stub return bgList.get(position); } @Override public long getItemId(int position) { - // TODO Auto-generated method stub return position; } @Override public View getView(int position, View convertView, ViewGroup parent) { - // TODO Auto-generated method stub ViewHolder viewHolder; if (convertView == null) { viewHolder = new ViewHolder(); diff --git a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java index 56e9be9..54b3348 100644 --- a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java +++ b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java @@ -104,16 +104,12 @@ public class AlarmAlertActivity extends Activity implements OnClickListener, OnD mPlayer.setLooping(true); mPlayer.start(); } catch (IllegalArgumentException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (SecurityException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (IllegalStateException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { - // TODO Auto-generated catch block e.printStackTrace(); } }