|
@@ -267,6 +267,72 @@ A Java library example is Comparator Interface. If a class implements this inter
|
|
|
\includegraphics[width=.4\textwidth]{media/SyntactsInterface.png}
|
|
|
|
|
|
|
|
|
+\def\day{\textit{April 20st Simon, 2021}}
|
|
|
+\def\weekday{\textit{Thursday}}
|
|
|
+\subsection*{\weekday, \day}
|
|
|
+
|
|
|
+I'm working on a searchbutton and found a nice website with tutorials
|
|
|
+https://www.tutorialkart.com/kotlin-android/android-text-to-speech-kotlin-example/
|
|
|
+
|
|
|
+I found a tutorial for the searchbutton and function
|
|
|
+https://developer.android.com/guide/topics/search/search-dialog
|
|
|
+
|
|
|
+For the mail list
|
|
|
+https://developer.android.com/guide/topics/ui/layout/recyclerview
|
|
|
+
|
|
|
+I downloaded a Programm from git that is an example for a RecycleView
|
|
|
+~/schulmaterial/matur/flowerPoject/
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+\def\day{\textit{April 21st Simon, 2021}}
|
|
|
+\def\weekday{\textit{Thursday}}
|
|
|
+\subsection*{\weekday, \day}
|
|
|
+
|
|
|
+
|
|
|
+1- The RecyclerView object: The overall container for your user interface is a RecylerView object that you add to your layout(You can add this object to your layout after adding its dependency to your build.gradle file).
|
|
|
+
|
|
|
+2- Layout manager: The RecyclerView fills itself with views provided by a layout manager. There are 3 different types of layout managers that can be used:
|
|
|
+
|
|
|
+ LinearLayoutManager which lays out items vertically or horizontally
|
|
|
+ GridLayoutManager that lays out items in a grid
|
|
|
+ StaggeredGridLayoutManager which lays out items in a staggered grid formation
|
|
|
+
|
|
|
+Also, we can implement our own layout manager
|
|
|
+
|
|
|
+3- ViewHolder: The views in the list are represented by the view holder. Each view holder is in charge of displaying a single item with a view. We create a view holder object by extending our class from ReclerView.ViewHolder.
|
|
|
+
|
|
|
+4- Adapter: An adapter manages the ViewHolder objects. It creates not only ViewHolders as needed, but also binds the ViewHolders with their data. We create an adapter by extending our class from RecyclerView.Adapter.
|
|
|
+
|
|
|
+5- List of datasets: A list of datasets that we want to show in our RecyclerView. In this tutorial, we use a list of Strings.
|
|
|
+
|
|
|
+I tried to add some tutorials in the emailprogramm for the recycleView but nothing worked
|
|
|
+
|
|
|
+https://tutorial.eyehunts.com/android/create-cardview-list-with-recyclerview-android-example/
|
|
|
+
|
|
|
+mostly i tried this one but the implitation of 'com.android.support:design:28.0.0-alpha1' in build.gradle (:app) didn't work even when i search on google docs like it say in the tutorial.
|
|
|
+
|
|
|
+https://developer.android.com/codelabs/basic-android-kotlin-training-affirmations-app?hl=en\#1
|
|
|
+
|
|
|
+was my triy with the impementation
|
|
|
+
|
|
|
+https://medium.com/swlh/android-recyclerview-part-1-creating-a-simple-list-d84392c268b0
|
|
|
+
|
|
|
+from there i got a lot of information.
|
|
|
+
|
|
|
+I "Played" alot with ~/schulmaterial/matur/flowerPoject/views-widgets-samples/RecyclerView/
|
|
|
+
|
|
|
+but I was not able to take Program into the right parts. But now at 9:30 a clock I se a RecyclerViewSimple folder. So maybe tomorrow i my day.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|