Kaynağa Gözat

updated diary

Simon Hammer 4 yıl önce
ebeveyn
işleme
febcfa179c
2 değiştirilmiş dosya ile 37 ekleme ve 3 silme
  1. 12 0
      diary/2021/2021_05.tex
  2. 25 3
      diary/dictionary.tex

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

@@ -13,3 +13,15 @@ After the onCreate() is called (in the Fragment), the Fragment's onCreateView()
 Noah and were looking for my bug. And the conclusion was that the proble is how the RecyclerView is invoket in the MainActivity. The other problem is i can't 
 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.

+ 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