Let\'s say we have a base class:
public abstract class BaseFragment extends Fragment { ... protected abstract boolean postExec(); ... }
make your public BaseFragment class abstract
public abstract class Fragment_Music extends BaseFragment{ @Override protected boolean postExec() { return false; } }