We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb814a commit eccf78eCopy full SHA for eccf78e
app/src/main/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksFragment.kt
@@ -132,8 +132,9 @@ class TasksFragment : Fragment() {
132
}
133
134
135
+ // TODO: Move this to databinding
136
private fun setupFab() {
- activity?.findViewById<FloatingActionButton>(R.id.add_task_fab)?.let {
137
+ requireView().findViewById<FloatingActionButton>(R.id.add_task_fab)?.let {
138
it.setOnClickListener {
139
navigateToAddNewTask()
140
0 commit comments