Ver código fonte

added month September and progress

Simon Hammer 3 anos atrás
pai
commit
0c014f624c
1 arquivos alterados com 19 adições e 0 exclusões
  1. 19 0
      diary/2021/2021_09.tex

+ 19 - 0
diary/2021/2021_09.tex

@@ -0,0 +1,19 @@
+\begin{center}
+\section*{\month}
+\end{center}
+
+
+\def\day{\textit{September 7st, 2021 Simon}}
+\def\weekday{\textit{Tuesday}}
+\subsection*{\weekday, \day}
+
+Yesterday I added a changing Recyclerviewer when you click a different folder.
+At the beginning I hab big problems because the Recyclerviewer was called in the MainActivity
+in the onCreate function wich was just called when you start the App so I couldn't use a boolean wich was set 
+true when the fragments are called. So i figured out how I can call the Recyclerviewer from the Fragment. So every time 
+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. 
+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 
+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 
+without wiping the Data from the Virtual machine
+
+Today I added new Folders called Spam and Archive. They work the same way like the other Folders.