How to perform action in fragments by clicking action bar icon in activity
Hello I have two icons in action bar update and edit when I click on edit icon my edit text becomes editable and I can edit data their. By clicking on update button my these editable edit texts data updated in firebase. I am doing this work in activity right now but I want fragment when I click on action bar icon in activity it perform update or edit functionality in fragment. Please guide me how to do this???