method does not override method in its superclass

The class Fragment or any of its super classes seem not to have the method public void setTitle(CharSequence title) so you can’t use the @Override annotation. You can remove that annotation and you should be fine.

Leave a Comment