Ver código fonte

Merge branch 'master' of github.com:noahvogt/texdiary

Noah Vogt 4 anos atrás
pai
commit
421a9ba2f0
2 arquivos alterados com 38 adições e 3 exclusões
  1. 13 0
      diary/2021/2021_05.tex
  2. 25 3
      diary/dictionary.tex

+ 13 - 0
diary/2021/2021_05.tex

@@ -14,6 +14,19 @@ Noah and were looking for my bug. And the conclusion was that the proble is how
 copie it from the programm I used to. So I will look out how you use onCreatView in the Fragment or in oure term I think it is AppCompatActivity but that is not a Fragment so 
 I have to look up somethings. 
 
+
+
+\def\day{\textit{May 23st Simon, 2021}}
+\def\weekday{\textit{Thursday}}
+\subsection*{\weekday, \day}
+
+I tried to fix the crash problem with the tutorial from this website:
+https://guides.codepath.com/android/Using-the-RecyclerView
+
+I changed the CustomAdapter a little bit and somethinks in the xml files.
+It worked after I changed the +id in the manactifity to recyclerView and the one in recycler_view_frag.xml to idk tha dosent exist.
+
+
 \def\day{\textit{May 24st Noah, 2021}}
 \def\weekday{\textit{Monday}}
 \subsection*{\weekday, \day}

+ 25 - 3
diary/dictionary.tex

@@ -77,9 +77,31 @@ You can create a bundle, pass it to Intent that starts the activity which then c
 Bundle:- A mapping from String values to various Parcelable types. Bundle is generally used for passing data between various activities of android.
 
 
-
-
-
+protected
+The protected keyword is an access modifier used for attributes, methods and constructors, 
+making them accessible in the same package and subclasses.
+
+bundle
+Resource bundles contain locale-specific objects.
+ When your program needs a locale-specific resource, a String for example,
+ your program can load it from the resource bundle that is appropriate for the current user's locale. In this way, 
+you can write program code that is largely independent of the user's locale isolating most, if not all, 
+of the locale-specific information in resource bundles.
+
+savedInstandeState
+The savedInstanceState is a reference to a Bundle object that is passed into the onCreate method of every Android Activity.
+ Activities have the ability, under special circumstances, 
+to restore themselves to a previous state using the data stored in this bundle.
+ If there is no available instance data, the savedInstanceState will be null. For example, 
+the savedInstanceState will always be null the first time an Activity is started, but may be non-null if an Activity is destroyed during rotation.
+
+private
+The private keyword is an access modifier used for attributes,
+ methods and constructors, 
+making them only accessible within the declared class.
+
+super
+super referes to the parent class and use the construktor from parent class