0

While referring Login Operation of Facebook in facebook-android-sdk sample apps, I found in the sample app "Scrumptious", the "com.facebook.widget.LoginButton" is used and in the another sample app called "Hackbook", the "com.facebook.android.LoginButton" is used.

Can any one please tell me the difference between "com.facebook.android.LoginButton" and "com.facebook.widget.LoginButton"????

Thanks in advance

Madhu
  • 329
  • 3
  • 8

1 Answers1

1

For the facebook-android-sdk there is only the LoginButton of the widget package. The other one is a class defined only in the HackBook sample.

As you can see from GitHub there is no such class as LoginButton in the src folder.

5agado
  • 2,444
  • 2
  • 21
  • 30
  • Ya... You are right... The LoginButton used in HackBook sample is just an extended ImageButton. Thanks.. – Madhu Apr 15 '13 at 06:37