浏览代码

tried fixing the crashe problem with the Adapter in the MainActivity

Simon Hammer 4 年之前
父节点
当前提交
3a44c3c371
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      diary/2021/2021_04.tex

+ 7 - 0
diary/2021/2021_04.tex

@@ -493,6 +493,13 @@ I found some things that made the programm crash. \\
 \end{enumerate}
 
 
+\def\day{\textit{May 5st Simon, 2021}}
+\def\weekday{\textit{Thursday}}
+\subsection*{\weekday, \day}
+
+I tried to fix the crash problem in the MainAktivity.java file and the cause for that was that the data variable wasen't detected because the onCreate() method was just protected 
+and not public. But now it crashes without an error message so idk what the problem is.
+