diff --git a/doc/~$便签的代码标注.docx b/doc/~$便签的代码标注.docx deleted file mode 100644 index 3bd99d5..0000000 Binary files a/doc/~$便签的代码标注.docx and /dev/null differ diff --git a/doc/小米便签的代码标注.docx b/doc/小米便签的代码标注.docx index 12a48a7..23c43e7 100644 Binary files a/doc/小米便签的代码标注.docx and b/doc/小米便签的代码标注.docx differ diff --git a/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java b/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java index 674963b..8cc9131 100644 --- a/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java +++ b/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java @@ -58,8 +58,6 @@ import java.util.regex.Pattern; public class NoteEditActivity extends Activity implements OnClickListener, NoteSettingChangedListener, OnTextViewChangeListener { - //该类主要是针对标签的编辑 - //继承了系统内部许多和监听有关的类 private class HeadViewHolder { public TextView tvModified; diff --git a/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NotesListActivity.java b/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NotesListActivity.java index 6a00ab8..d089af2 100644 --- a/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NotesListActivity.java +++ b/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NotesListActivity.java @@ -150,7 +150,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt @Override /** * @method onActivityResult - * @description: 返回一些子模块完成的数据交给主Activity处理 + * @description: * 参数: * requestCode: * resultCode: @@ -161,7 +161,6 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt * @return void */ protected void onActivityResult(int requestCode, int resultCode, Intent data) { - // 结果值 和 要求值 符合要求 if (resultCode == RESULT_OK && (requestCode == REQUEST_CODE_OPEN_NODE || requestCode == REQUEST_CODE_NEW_NODE)) { mNotesListAdapter.changeCursor(null); @@ -804,10 +803,14 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt sendBroadcast(intent); setResult(RESULT_OK, intent); } - - /** - * 声明监听器,建立菜单,包括名称,视图,删除操作,更改名称操作; - */ + /** + * @method OnCreateContextMenuListener + * @description: 生成便签初始界面 + * @date: 2023/12/21 1:16 + * @author: WUSHUXIAN + * @param + * @return + */ private final OnCreateContextMenuListener mFolderOnCreateContextMenuListener = new OnCreateContextMenuListener() { public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { if (mFocusNoteDataItem != null) {