Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目无法运行 #4

Open
snowf07 opened this issue Dec 12, 2023 · 0 comments
Open

项目无法运行 #4

snowf07 opened this issue Dec 12, 2023 · 0 comments

Comments

@snowf07
Copy link

snowf07 commented Dec 12, 2023

PlaybackFragment playbackFragment = new PlaybackFragment();
ContextualFragment contextualFragment = null;
FrameLayout contextual = findViewById(R.id.contextual);
if (contextual != null) {
contextualFragment = new ContextualFragment();
}

    FragmentTransaction fragmentTransaction =
            getSupportFragmentManager().beginTransaction();
    fragmentTransaction.replace(R.id.playback, playbackFragment);
    if (contextual != null) {
        fragmentTransaction.replace(R.id.contextual, contextualFragment);
    }
    fragmentTransaction.commitNow();
    
    找不到 PlaybackFragment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant