diff --git a/src/.gradle/5.4.1/executionHistory/executionHistory.bin b/src/.gradle/5.4.1/executionHistory/executionHistory.bin
index 12c5ce3..c50e4f3 100644
Binary files a/src/.gradle/5.4.1/executionHistory/executionHistory.bin and b/src/.gradle/5.4.1/executionHistory/executionHistory.bin differ
diff --git a/src/.gradle/5.4.1/executionHistory/executionHistory.lock b/src/.gradle/5.4.1/executionHistory/executionHistory.lock
index a750cc4..ca0b56d 100644
Binary files a/src/.gradle/5.4.1/executionHistory/executionHistory.lock and b/src/.gradle/5.4.1/executionHistory/executionHistory.lock differ
diff --git a/src/.gradle/5.4.1/fileHashes/fileHashes.bin b/src/.gradle/5.4.1/fileHashes/fileHashes.bin
index b161a85..0e03fcb 100644
Binary files a/src/.gradle/5.4.1/fileHashes/fileHashes.bin and b/src/.gradle/5.4.1/fileHashes/fileHashes.bin differ
diff --git a/src/.gradle/5.4.1/javaCompile/classAnalysis.bin b/src/.gradle/5.4.1/javaCompile/classAnalysis.bin
index 9b19096..48df9ad 100644
Binary files a/src/.gradle/5.4.1/javaCompile/classAnalysis.bin and b/src/.gradle/5.4.1/javaCompile/classAnalysis.bin differ
diff --git a/src/.gradle/5.4.1/javaCompile/javaCompile.lock b/src/.gradle/5.4.1/javaCompile/javaCompile.lock
index 21edb12..33670e8 100644
Binary files a/src/.gradle/5.4.1/javaCompile/javaCompile.lock and b/src/.gradle/5.4.1/javaCompile/javaCompile.lock differ
diff --git a/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 b/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32
index 48c38da..411b55b 100644
--- a/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32
+++ b/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32
@@ -1,36 +1,36 @@
-fsquid:S1126"BReplace this if-then-else statement by a single method invocation.(玒8-
-Dsquid:S3398"%Move this method into "ModeCallback".(8-
+Qsquid:S1199"-Extract this nested code block into a method.(̀8-
+Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
+fsquid:S1126"BReplace this if-then-else statement by a single method invocation.(玒8-
+Vsquid:S1135"2Complete the task associated to this TODO comment.(̐8-
+Qsquid:S1199"-Extract this nested code block into a method.(8-
+Gsquid:S1148"#Use a logger to log this exception.(ԅ8-
+Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
+osquid:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד8-
+Lsquid:S1199"-Extract this nested code block into a method.(ȓ8-
+Qsquid:S1199"-Extract this nested code block into a method.(ڿ8-
Rsquid:EmptyStatementUsageChecki"Remove this empty statement.(8-
-vsquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(8-
-:squid:S3626"Remove this redundant jump.(݅8-
-qsquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(8-
-Qsquid:S1199"-Extract this nested code block into a method.(8-
-Qsquid:S1199"-Extract this nested code block into a method.(8-
-wsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(8-
-Lsquid:S1199"-Extract this nested code block into a method.(ȓ8-
-wsquid:S1450"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(8-
-Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
-Osquid:S3398"0Move this method into "OnListItemClickListener".(8ʕ-
-Qsquid:S1199"-Extract this nested code block into a method.(̀8-
-Isquid:S00108")Either remove or fill this block of code.(ʥ8-
-osquid:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד8-
-Gsquid:S1148"#Use a logger to log this exception.(ԅ8-
-Gsquid:S1148"#Use a logger to log this exception.(ԅ8-
-:squid:S3626"Remove this redundant jump.(݅8-
-Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
-Isquid:S3398"%Move this method into "ModeCallback".(8-
-Nsquid:S2093"*Change this "try" to a try-with-resources.(8-
qsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(Ѿk8-
-:squid:S3626"Remove this redundant jump.(݅8-
-Qsquid:S1199"-Extract this nested code block into a method.(Η8-
-Qsquid:S1199"-Extract this nested code block into a method.(8-
-psquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b8-
-Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
-Qsquid:S1199"-Extract this nested code block into a method.(ڿ8-
-Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
-Vsquid:S1135"2Complete the task associated to this TODO comment.(̐8-
-Ssquid:EmptyStatementUsageCheck"Remove this empty statement.(8-
-Lsquid:S1199"-Extract this nested code block into a method.(8-
-xsquid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8-
-psquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(#8-
\ No newline at end of file
+Nsquid:S2093"*Change this "try" to a try-with-resources.(8-
+psquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(#8-
+:squid:S3626"Remove this redundant jump.(݅8-
+wsquid:S1450"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(8-
+Qsquid:S1199"-Extract this nested code block into a method.(8-
+vsquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(8-
+Qsquid:S1199"-Extract this nested code block into a method.(8-
+Gsquid:S1148"#Use a logger to log this exception.(ԅ8-
+Isquid:S3398"%Move this method into "ModeCallback".(8-
+Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
+psquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b8-
+Dsquid:S3398"%Move this method into "ModeCallback".(8-
+:squid:S3626"Remove this redundant jump.(݅8-
+Lsquid:S1199"-Extract this nested code block into a method.(8-
+Osquid:S3398"0Move this method into "OnListItemClickListener".(8ʕ-
+wsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(8-
+Qsquid:S1199"-Extract this nested code block into a method.(Η8-
+xsquid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8-
+:squid:S3626"Remove this redundant jump.(݅8-
+Isquid:S00108")Either remove or fill this block of code.(ʥ8-
+qsquid:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(8-
+Ssquid:EmptyStatementUsageCheck"Remove this empty statement.(8-
+Vsquid:S1135"2Complete the task associated to this TODO comment.(8-
\ No newline at end of file
diff --git a/src/.idea/workspace.xml b/src/.idea/workspace.xml
index bb46b20..a4af179 100644
--- a/src/.idea/workspace.xml
+++ b/src/.idea/workspace.xml
@@ -13,22 +13,49 @@
-
-
-
+
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -63,69 +90,36 @@
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -228,7 +222,6 @@
-
@@ -240,15 +233,16 @@
-
-
+
+
+
@@ -264,12 +258,12 @@
-
+
-
-
+
+
@@ -435,12 +429,12 @@
-
+
-
-
+
+
@@ -696,13 +690,6 @@
1568106571875
-
- 1568108467671
-
-
-
- 1568108467671
- 1568109002344
@@ -1039,7 +1026,14 @@
1572573379860
-
+
+ 1572620818170
+
+
+
+ 1572620818171
+
+
@@ -1056,7 +1050,7 @@
-
+
@@ -1068,7 +1062,7 @@
-
+
@@ -1166,36 +1160,10 @@
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1362,16 +1330,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -1431,20 +1389,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1463,39 +1407,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
-
+
+
@@ -1510,16 +1435,101 @@
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex b/src/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex
index c4e4ffb..39f8bfd 100644
Binary files a/src/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex and b/src/app/build/intermediates/dex/debug/mergeDexDebug/out/classes.dex differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$1.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$1.class
index 9c51a52..fd393ee 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$1.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$1.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$2.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$2.class
index a59cc14..1be498b 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$2.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$2.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$3.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$3.class
index d54d161..2799d0f 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$3.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$3.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$4.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$4.class
index 46a556a..802b228 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$4.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$4.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$5.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$5.class
index b7e1055..bc246cc 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$5.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$5.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$6.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$6.class
index 96aad5b..90958b6 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$6.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$6.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$7.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$7.class
index 6595122..c68f713 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$7.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$7.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$8.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$8.class
index f4c76ea..3c125ce 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$8.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$8.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$9.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$9.class
index ecd03b8..7d2d46c 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$9.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$9.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.class
index 7282a22..a494c0b 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$1.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$1.class
index 9b002bd..4492018 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$1.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$1.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$2.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$2.class
index 6a88d87..42c7ae7 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$2.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback$2.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback.class
index 96b3e02..708ca7e 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$ModeCallback.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.class
index b3b32fd..f72fb8e 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.class
index ba8fb4d..88412d4 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class
index e80ce69..104244b 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NotesListActivity.class differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$1.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$1.dex
index cc688b3..61cf7bb 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$1.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$1.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$2.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$2.dex
index f947949..9a32129 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$2.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$2.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$3.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$3.dex
index 76bad82..0423d18 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$3.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$3.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$4.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$4.dex
index cff1ad3..2a049cf 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$4.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$4.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$5.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$5.dex
index 6aeec4e..c17a842 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$5.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$5.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$6.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$6.dex
index 501e8f0..ffe1cce 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$6.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$6.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$7.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$7.dex
index 5c0203f..8f0d718 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$7.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$7.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$8.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$8.dex
index 3f37781..397bea5 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$8.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$8.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$9.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$9.dex
index 9d30898..186e7b1 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$9.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$9.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.dex
index 59c73d2..c0b7e8a 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$BackgroundQueryHandler.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$1.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$1.dex
index 5903e2c..a6958e7 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$1.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$1.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$2.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$2.dex
index a65d30f..26bd997 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$2.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback$2.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback.dex
index b3b1553..9cf7bf9 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$ModeCallback.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.dex
index 19784aa..f8b0ea5 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$NewNoteOnTouchListener.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.dex
index 6b05b1b..64e8fd0 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity$OnListItemClickListener.dex differ
diff --git a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex
index 38ced45..bb04eda 100644
Binary files a/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex and b/src/app/build/intermediates/transforms/dexBuilder/debug/0/net/micode/notes/ui/NotesListActivity.dex differ
diff --git a/src/app/build/outputs/apk/debug/app-debug.apk b/src/app/build/outputs/apk/debug/app-debug.apk
index 411dd74..9b2bb85 100644
Binary files a/src/app/build/outputs/apk/debug/app-debug.apk and b/src/app/build/outputs/apk/debug/app-debug.apk differ
diff --git a/src/app/src/main/java/net/micode/notes/ui/CheckBoxAdapter.java b/src/app/src/main/java/net/micode/notes/ui/CheckBoxAdapter.java
index 25eba55..7985b36 100644
--- a/src/app/src/main/java/net/micode/notes/ui/CheckBoxAdapter.java
+++ b/src/app/src/main/java/net/micode/notes/ui/CheckBoxAdapter.java
@@ -14,29 +14,38 @@ import android.widget.TextView;
import net.micode.notes.R;
+/*
+* 该类用于适配Todo中的勾选框
+* */
public class CheckBoxAdapter extends BaseAdapter{
private Context context;
private List> list;
private LayoutInflater layoutInflater;
+ //Todo下待办内容
private TextView tv;
+ //勾选框
private CheckBox cb;
public CheckBoxAdapter(Context context,List> list) {
this.context = context;
- this.list = list;//list中checkbox状态为false
+ //list中checkbox状态为false,默认不勾选
+ this.list = list;
this.layoutInflater=LayoutInflater.from(context);
}
+ //获取待办数量的方法,返回值类型-int
@Override
public int getCount() {
return list.size();
}
+ //获取待办项的方法,返回值类型,
@Override
public Object getItem(int position) {
return list.get(position);
}
+ //获取位置的方法
@Override
public long getItemId(int position) {
return position;
@@ -48,7 +57,9 @@ public class CheckBoxAdapter extends BaseAdapter{
convertView = layoutInflater.inflate(R.layout.todo_list_item, null);
ViewCache viewCache = new ViewCache();
+ //绑定文本框
tv = (TextView) convertView.findViewById(R.id.tv_todo_text);
+ //绑定勾选框
cb = (CheckBox) convertView.findViewById(R.id.cb_todo);
viewCache.tv = tv;
diff --git a/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java b/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
index 74c5a9e..a1e2c30 100644
--- a/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
+++ b/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
@@ -171,6 +171,7 @@ public class NoteEditActivity extends Activity implements OnClickListener,
private static final int SHORTCUT_ICON_TITLE_MAX_LEN = 10;
+ //清单模式中,标识是否选中
public static final String TAG_CHECKED = String.valueOf('\u221A');
public static final String TAG_UNCHECKED = String.valueOf('\u25A1');
@@ -347,18 +348,26 @@ public class NoteEditActivity extends Activity implements OnClickListener,
showAlertHeader();
}
+ /*
+ * 该方法用于在编辑模式下,显示提醒样式
+ * */
private void showAlertHeader() {
+ //如果设置了提醒
if (mWorkingNote.hasClockAlert()) {
+ //获取当前时间
long time = System.currentTimeMillis();
if (time > mWorkingNote.getAlertDate()) {
+ //提醒已经过期
mNoteHeaderHolder.tvAlertDate.setText(R.string.note_alert_expired);
} else {
+ //没有过期,显示还有多久提醒
mNoteHeaderHolder.tvAlertDate.setText(DateUtils.getRelativeTimeSpanString(
mWorkingNote.getAlertDate(), time, DateUtils.MINUTE_IN_MILLIS));
}
mNoteHeaderHolder.tvAlertDate.setVisibility(View.VISIBLE);
mNoteHeaderHolder.ivAlertIcon.setVisibility(View.VISIBLE);
} else {
+ //没有设置提醒,隐藏图标
mNoteHeaderHolder.tvAlertDate.setVisibility(View.GONE);
mNoteHeaderHolder.ivAlertIcon.setVisibility(View.GONE);
};
@@ -505,8 +514,10 @@ public class NoteEditActivity extends Activity implements OnClickListener,
setResult(RESULT_OK, intent);
}
+ //该方法用于实现点击事件处理
public void onClick(View v) {
int id = v.getId();
+ //如果点击设置背景色
if (id == R.id.btn_set_bg_color) {
mNoteBgColorSelector.setVisibility(View.VISIBLE);
findViewById(sBgSelectorSelectionMap.get(mWorkingNote.getBgColorId())).setVisibility( View.VISIBLE);