Created
December 7, 2019 10:30
-
-
Save user-mw/6012fd8c5fcb03390055539ce63d5a7e to your computer and use it in GitHub Desktop.
HolderFragment holderFragmentFor() methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public сlass HolderFragment extends Fragment { | |
// Code | |
public static HolderFragment holderFragmentFor(FragmentActivity activity) { | |
return sHolderFragmentManager.holderFragmentFor(activity); | |
} | |
public static HolderFragment holderFragmentFor(Fragment fragment) { | |
return sHolderFragmentManager.holderFragmentFor(fragment); | |
} | |
// Code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment