File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
java/com/example/android/architecture/blueprints/todoapp/addedittask Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ class AddEditTaskFragment : Fragment() {
41
41
42
42
private val args: AddEditTaskFragmentArgs by navArgs()
43
43
44
- private val viewModel by viewModels<AddEditTaskViewModel > {
45
- getViewModelFactory()
46
- }
44
+ private val viewModel by viewModels<AddEditTaskViewModel > { getViewModelFactory() }
47
45
48
46
override fun onCreateView (
49
47
inflater : LayoutInflater , container : ViewGroup ? ,
Original file line number Diff line number Diff line change 15
15
-->
16
16
17
17
<resources >
18
- <string name =" app_name" >Tasks </string >
18
+ <string name =" app_name" >Todo </string >
19
19
<string name =" add_task" >New Task</string >
20
20
<string name =" edit_task" >Edit Task</string >
21
21
<string name =" task_marked_complete" >Task marked complete</string >
25
25
<string name =" menu_filter" >Filter</string >
26
26
<string name =" menu_clear" >Clear completed</string >
27
27
<string name =" menu_delete_task" >Delete task</string >
28
- <string name =" navigation_view_header_title" >Tasks </string >
28
+ <string name =" navigation_view_header_title" >Todo </string >
29
29
<string name =" title_hint" >Title</string >
30
30
<string name =" description_hint" >Enter your task here.</string >
31
31
<string name =" empty_task_message" >Tasks cannot be empty</string >
You can’t perform that action at this time.
0 commit comments