@Override
    public void onAttach(Context context) {
        super.onAttach(context);

        repo = requireActivity().getIntent().getParcelableExtra(EXTRA_REPOSITORY);
    }
Fragment to display a news feed for a specific repository
app/src/main/java/com/github/pockethub/android/ui/repo/RepositoryNewsFragment.java