@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.list_draw);
findViewById(R.id.btn_add).setOnClickListener(this);
list_menu = (LinearLayout) findViewById(R.id.list_menu);
list_menu.setVisibility(View.GONE);
findViewById(R.id.btn_edit).setOnClickListener(this);
findViewById(R.id.btn_share).setOnClickListener(this);
findViewById(R.id.btn_setting).setOnClickListener(this);
findViewById(R.id.btn_check).setOnClickListener(this);
findViewById(R.id.btn_delete).setOnClickListener(this);
findViewById(R.id.btn_notemain).setOnClickListener(this);
mTodoList = new ArrayList<DrawNoteList_Row>();
selectedPosition = -1;
PaintDrawable d = new PaintDrawable(Color.TRANSPARENT);
getListView().setSelector(d);
//서비스 해제
AlarmManager am = (AlarmManager) this.getSystemService(Context.ALARM_SERVICE);
Intent intent = new Intent(DrawNoteList.this, DrawNoteNotification.class);
PendingIntent pi = PendingIntent.getService(DrawNoteList.this, 0, intent, 0);
am.cancel(pi);
NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
nm.cancelAll();
}
DrawNoteList.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:DiaryMemo
作者:
评论列表
文章目录