Skip to content

Commit

Permalink
#16 [chore] ToDoData 집어넣기
Browse files Browse the repository at this point in the history
  • Loading branch information
2zerozu committed Jul 8, 2022
1 parent 6172448 commit beb5a7c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions app/src/main/java/com/hous/housaoslab/ui/home/HomeFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@ class HomeFragment : Fragment() {
toDoAdapter = ToDoAdapter()
binding.rvHomeToDo.adapter = toDoAdapter
toDoAdapter.toDoList.addAll(
rulesAdapter.rulesList.addAll(
listOf(
RulesData("퇴근하고 마트"),
RulesData("저녁 설거지"),
RulesData("아침 설거지"),
RulesData("물 사기"),
RulesData("야식 먹지 말자"),
ToDoData("퇴근하고 마트"),
ToDoData("저녁 설거지"),
ToDoData("아침 설거지"),
ToDoData("물 사기"),
ToDoData("야식 먹지 말자"),
)
)
comingUpAdapter.notifyDataSetChanged()
Expand Down

0 comments on commit beb5a7c

Please sign in to comment.