I having been trying to take an action when icon on the toolbar is clicked but I am getting a null exception. I dont know what could be the cause?
My code in the fragment