SyntaxFix
Write A Post
Hire A Developer
Questions
mAddTaskButton.setOnClickListener(new View.OnClickListener()
you have a click listner but you haven't initialized the mAddTaskButton with your layout binding