public static CardViewFragment newInstance() {
        CardViewFragment fragment = new CardViewFragment();
        fragment.setRetainInstance(true);
        return fragment;
    }
Use this factory method to create a new instance of
this fragment using the provided parameters.

@return A new instance of fragment NotificationFragment.
CardView/Application/src/main/java/com/example/android/cardview/CardViewFragment.java