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
This commit is contained in:
zhangnaifu15 2018-04-11 23:29:45 +08:00
parent b4b66cb857
commit 23e00ff44b
2 changed files with 0 additions and 8 deletions

View File

@ -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();

View File

@ -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();
}
}