Last active
November 30, 2022 12:02
-
-
Save kingjinho/7c0ed5220c4671a4ce5f014d2729d115 to your computer and use it in GitHub Desktop.
FragmentActivity
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 class FragmentActivity extends ComponentActivity implements | |
ActivityCompat.OnRequestPermissionsResultCallback, | |
ActivityCompat.RequestPermissionsRequestCodeValidator { | |
... | |
final FragmentController mFragments = FragmentController.createController(new HostCallbacks()); | |
... | |
class HostCallbacks extends FragmentHostCallback<FragmentActivity> implements ... { | |
public HostCallbacks() { | |
super(FragmentActivity.this /*fragmentActivity*/); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment