ASNE icon indicating copy to clipboard operation
ASNE copied to clipboard

LinkedInSocialNetwork doesn't work with android.app.Fragment

Open mghildiy opened this issue 10 years ago • 0 comments

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

mghildiy avatar Oct 10 '15 10:10 mghildiy