Why do you write new SimpleFacebook.OnLoginListener()
? The class SimpleFacebook
doesn't contain OnLoginListener
.
You already imported com.sromku.simple.fb.listeners.OnLoginListener
and that's why creating the listener should be following:
OnLoginListener onLoginListener = new OnLoginListener()
{
...
}