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

Problem with show(FragmentManager, String) in RateMeMaybe.java #1

Closed
omgitsbillryan opened this issue Oct 22, 2013 · 3 comments
Closed

Comments

@omgitsbillryan
Copy link

Getting a build error in RateMeMaybe.java:232

frag.show(mActivity.getSupportFragmentManager(), "rmmFragment");

Error reads, "The method show(FragmentManager, String) in the type DialogFragment is not applicable for the arguments (FragmentManager, String)"

I believe this is because the method is:

show(android.app.FragmentManager, String)

instead of:

show(android.support.v4.app.FragmentManager, String)

I'm using

<uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="16" />
@omgitsbillryan
Copy link
Author

Of course right after I post this I found the answer right on your Readme.md. Sorry!

@omgitsbillryan
Copy link
Author

Sorry, I must reopen. I am using the android support library but I am still getting this error.

@omgitsbillryan
Copy link
Author

I will once again close. ctrl+shift+O is a dangerous tool. It changed the import from the support DialogFragment to the regular one.

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