Skip to content

Instantly share code, notes, and snippets.

@fobidlim
Created September 28, 2016 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fobidlim/766ef2d044204cc97a927465b4a8be65 to your computer and use it in GitHub Desktop.
Save fobidlim/766ef2d044204cc97a927465b4a8be65 to your computer and use it in GitHub Desktop.
BaseFragment abstract
public abstract class BaseFragment extends Fragment {
protected Context context;
@Override
public void onAttach(Context context) {
super.onAttach(context);
this.context = context;
}
public abstract void change();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment