package com.sarality.app.view.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;

/**
 * Fragment that has the capability of being refreshed with a new set of arguments
 *
 * @author sunayna@ (Sunayna Uberoy)
 */
public abstract class RefreshableFragment extends Fragment {

  public abstract void refresh(Bundle bundle);
}


package com.sarality.app.view.fragment;

import android.os.Bundle;

/**
 * Interface for Fragments that have the capability of being refreshed with a new set of arguments.
 *
 * @author sunayna@ (Sunayna Uberoy)
 */
public interface RefreshableFragment {

  public void refresh(Bundle bundle);
}


Convert RefreshableFragment to an interface. Much easier to deal with interface here when you don't have to deal with multiple inheritance.