I have an activity with three fragment classes inside it. I get an error when trying to change the action bar title from inside of them. If I try to make the classes just pu
With AppCompatActivity it is advised to shift to Toolbar instead of the action bar, But if you are not doing so then use this to get an instance of action bar.