Skip to content
Extraits de code Groupes Projets
Valider 8523787a rédigé par Monnot's avatar Monnot
Parcourir les fichiers

TaskListFragment's part finished

parent badbf8e7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,6 +8,7 @@ import android.view.ViewGroup ...@@ -8,6 +8,7 @@ import android.view.ViewGroup
import com.clemhaowen.dm_td2.R import com.clemhaowen.dm_td2.R
class TaskListFragment : Fragment() { class TaskListFragment : Fragment() {
private val taskList = listOf("Task 1", "Task 2", "Task 3") private val taskList = listOf("Task 1", "Task 2", "Task 3")
override fun onCreateView( override fun onCreateView(
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".MainActivity"> tools:context=".MainActivity">
<fragment <fragment
android:name="com.clemhaowen.dm_td2.tasklist.TaskListFragment" android:name="com.clemhaowen.dm_td2.tasklist.TaskListFragment"
android:id="@+id/fragment_tasklist" android:id="@+id/fragment_tasklist"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter