Note taking app with cool functions powred by Java.
- Model-View-Controller pattern.
- All data is saved to a local database.
A simple user interface has been created for notes with display and creation of notes
Main notes screen | Add/Edit notes screen |
---|---|
Deleted notes can stay in the trash indefinitely. The search for notes in the database is carried out character by character.
Recycle bin screen | Search screen |
---|---|
Controller is used to save and display note data from local database
...
private final NoteRepository repository;
private final LiveData<List<Note>> allNotes;
...
public void insert(Note note) {
repository.insert(note);
}
public LiveData<List<Note>> getAllNotes() {
return allNotes;
}
...
In order to create a task, you need to create a folder. Folder names can be changed. And if you want to delete the entire folder, the program will warn you that all created tasks in this folder will be deleted.
-
Main folder screen The main screen displays all created folders. By long pressing on the list item, the bottom menu will open, and in which it is possible to rename or delete the folder
-
Main tasks screen On the main task screen, all created tasks are displayed in the form of a convenient search.
-
Task data screen On the task data screen, you can add a due date to the task and add additional data about the task.
Main folder screen | Main tasks screen | Task data screen |
---|---|---|
Main passwords screen | Password screen | Password generator screen |
---|---|---|
For searching data in database used basic SQL Query.
@Query("SELECT * FROM note_table WHERE title LIKE '%' || :search || '%' OR description LIKE '%' || :search || '%'")
LiveData<List<Note>> findNote(String search);