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

LinkedInSocialNetwork doesn't work with android.app.Fragment #101

Open
mghildiy opened this issue Oct 10, 2015 · 0 comments
Open

LinkedInSocialNetwork doesn't work with android.app.Fragment #101

mghildiy opened this issue Oct 10, 2015 · 0 comments

Comments

@mghildiy
Copy link

Hi,
I am trying to implement linkedin login functionality. So I do following in my fragment class:

LinkedInSocialNetwork liNetwork = new LinkedInSocialNetwork(this, LINKEDIN_CLIENT_KEY, LINKEDIN_CLIENT_SECRET,
LINKEDIN_CALLBACK_URL, linkedInScope);

But my fragment class extends android.app.Fragment while LinkedInSocialNetwork's constructor takes android.support.v4.app.Fragment, hence code doesn't compile.

How to work around this issue?

With regards
Manish

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