FacebookActivity
Доступна более новая версия данного класса. Посетите текущую версию.

This Activity is a necessary part of the overall Facebook SDK, but is not meant to be used directly. Add this Activity to your AndroidManifest.xml to ensure proper handling of Facebook SDK features.

<activity android:name="com.facebook.FacebookActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" android:label="@string/app_name" />

Do not start this activity directly.

Расширение:FragmentActivity
Пакет:facebook
Конструкторы
FacebookActivity()
public FacebookActivity()
Методы экземпляра
onConfigurationChanged(Configuration)

Called by the system when the device configuration changes while your component is running. Note that, unlike activities, other components are never restarted when a configuration changes: they must always deal with the results of the change, such as by re-retrieving resources.

At the time that this function has been called, your Resources object will have been updated to return resource values matching the new configuration.

public void onConfigurationChanged(Configuration newConfig)
ПараметрОписание
newConfigThe new device configuration.
getCurrentFragment()
public Fragment getCurrentFragment()
sendResult(Bundle, FacebookException)
public void sendResult(Bundle results, FacebookException error)
ПараметрОписание
results
error