Android : LoginButton with native Fragment

on Tuesday, July 8, 2014


I'm trying to implement the Facebook LoginButton using the tutorial here https://developers.facebook.com/docs/android/login-with-facebook/v2.0#step2


The problem is on the line authButton.setFragment(this);.


I'm using native fragments (android.app.Fragment) but setFragment expects a support Fragment (android.support.v4.app.Fragment).


0 comments:

Post a Comment