I have integrated Facebook sdk in my android app. As described in the manual I added the login callback for facebook. But I have to change the UI if the user logs out from f
This worked for me:-
profileTracker = new ProfileTracker() { @Override protected void onCurrentProfileChanged( Profile oldProfile, Profile currentProfile) { if(currentProfile == null){ tvUNameandEmail.setText(R.string.app_name); } } };