gorbin / gorbin/ASNE

LinkedInSocialNetwork doesn't work with android.app.Fragment

Open
#101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
877
Forks
225
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.