Note View Model Factory
Factory class for creating instances of NoteViewModel. This is necessary because NoteViewModel has a constructor parameter (noteDao), and ViewModelProvider needs a way to instantiate it.
Factory class for creating instances of NoteViewModel. This is necessary because NoteViewModel has a constructor parameter (noteDao), and ViewModelProvider needs a way to instantiate it.