2021_09.tex 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. \begin{center}
  2. \section*{\month}
  3. \end{center}
  4. \def\day{\textit{September 7st, 2021 Simon}}
  5. \def\weekday{\textit{Tuesday}}
  6. \subsection*{\weekday, \day}
  7. Yesterday I added a changing Recyclerviewer when you click a different folder.
  8. At the beginning I hab big problems because the Recyclerviewer was called in the MainActivity
  9. in the onCreate function wich was just called when you start the App so I couldn't use a boolean wich was set
  10. true when the fragments are called. So i figured out how I can call the Recyclerviewer from the Fragment. So every time
  11. the user clicks on a Folder an new Recyclerviewer is called and reads in the Data. I'm not sure if it reads in the Database every time.
  12. Maybe it just reads in the UI created by the ViewModel. Still the Programm uses a lot of Memory and it might be because of the
  13. different LiveDatas or the different observer because not idk how often the look for changes. Also i cant use a different Database read in function
  14. without wiping the Data from the Virtual machine
  15. Today I added new Folders called Spam and Archive. They work the same way like the other Folders.
  16. \def\day{\textit{September 8st, 2021 Simon}}
  17. \def\weekday{\textit{Wednesday}}
  18. \subsection*{\weekday, \day}
  19. Today I managed to read the data from the eamailwriter into the Database
  20. by starting the Intent in the messageCreateFragment and reading in the String from there. Adding them to these
  21. spezial Strings and calling these String with the data from the MainActivity. Sadly I still use the NewDraftActivity but idk why I have to.
  22. Maybe somthing with the Intent or how the obActivityResult is called.
  23. \def\day{\textit{December 27st, 2021 Simon}}
  24. \def\weekday{\textit{Sunday}}
  25. \subsection*{\weekday, \day}
  26. MessageId where all 0 even in print there were numbers, so i changed the type from messageId in Class Message from
  27. Int to String but now the data is not read in. So i tried with migration but hadn't a success.